Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00419/0.00419, allocations: 99.73 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 194.8 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.936/0.936, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 67.91 kB / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3236, allocations: 81.02 MB / 0.6649 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1766/0.5002, allocations: 171.1 MB / 0.8319 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00596/0.5062, allocations: 4.299 MB / 0.8361 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.5066, allocations: 19.94 kB / 0.8361 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.5075, allocations: 357.9 kB / 0.8365 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.5099, allocations: 1.217 MB / 0.8376 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.5116, allocations: 0.7888 MB / 0.8384 GB, free: 14.51 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.5134, allocations: 1.691 MB / 0.8401 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006908/0.5141, allocations: 0.5543 MB / 0.8406 GB, free: 12.26 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009401/0.5151, allocations: 0.6887 MB / 0.8413 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.5162, allocations: 0.5431 MB / 0.8418 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.5163, allocations: 68 kB / 0.8419 GB, free: 10.96 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.5176, allocations: 0.8029 MB / 0.8427 GB, free: 10.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.5179, allocations: 271.3 kB / 0.8429 GB, free: 9.891 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.5183, allocations: 410.2 kB / 0.8433 GB, free: 9.488 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.5198, allocations: 1.263 MB / 0.8445 GB, free: 8.223 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5198, allocations: 3.984 kB / 0.8445 GB, free: 8.219 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5198, allocations: 0 / 0.8445 GB, free: 8.219 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5199, allocations: 0 / 0.8445 GB, free: 8.219 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00165/0.5215, allocations: 1.063 MB / 0.8456 GB, free: 7.102 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5215, allocations: 8.031 kB / 0.8456 GB, free: 7.094 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.5217, allocations: 98.45 kB / 0.8457 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009453/0.5226, allocations: 171.4 kB / 0.8458 GB, free: 6.82 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.5234, allocations: 0.5486 MB / 0.8464 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.5234, allocations: 37.31 kB / 0.8464 GB, free: 6.199 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.5235, allocations: 59.98 kB / 0.8465 GB, free: 6.141 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.5246, allocations: 0.644 MB / 0.8471 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5246, allocations: 0 / 0.8471 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.5247, allocations: 28 kB / 0.8471 GB, free: 5.453 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.5247, allocations: 29.3 kB / 0.8472 GB, free: 5.422 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.5257, allocations: 0.5048 MB / 0.8477 GB, free: 4.918 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.5288, allocations: 2.305 MB / 0.8499 GB, free: 2.445 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.5293, allocations: 258.8 kB / 0.8501 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.5295, allocations: 138.1 kB / 0.8503 GB, free: 2.047 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5296, allocations: 7.969 kB / 0.8503 GB, free: 2.039 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.5296, allocations: 42.56 kB / 0.8503 GB, free: 1.988 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.5296, allocations: 0 / 0.8503 GB, free: 1.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001569/0.5312, allocations: 0.673 MB / 0.851 GB, free: 1.266 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.5313, allocations: 81.05 kB / 0.8511 GB, free: 1.168 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.5319, allocations: 0.5574 MB / 0.8516 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.5319, allocations: 29.7 kB / 0.8516 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.5322, allocations: 344.1 kB / 0.852 GB, free: 228 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.5322, allocations: 83.3 kB / 0.852 GB, free: 144 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5324, allocations: 73.92 kB / 0.8521 GB, free: 64 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5325, allocations: 362.8 kB / 0.8525 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.5328, allocations: 132.6 kB / 0.8526 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.5331, allocations: 219.5 kB / 0.8528 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.5337, allocations: 329.7 kB / 0.8531 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5337, allocations: 0 / 0.8531 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008767/0.5345, allocations: 498.6 kB / 0.8536 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5346, allocations: 8 kB / 0.8536 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.5346, allocations: 3.938 kB / 0.8536 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.5349, allocations: 101.9 kB / 0.8537 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.5352, allocations: 71.91 kB / 0.8538 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.5382, allocations: 3.332 MB / 0.857 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.5386, allocations: 55.61 kB / 0.8571 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.5387, allocations: 16.06 kB / 0.8571 GB, free: 10.61 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002405/0.5389, allocations: 218.3 kB / 0.8573 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.539, allocations: 63.56 kB / 0.8574 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.43e-05/0.5391, allocations: 60.48 kB / 0.8574 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5391, allocations: 4 kB / 0.8574 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.5391, allocations: 0 / 0.8574 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000718/0.5398, allocations: 0.5332 MB / 0.8579 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.5411, allocations: 0.9208 MB / 0.8588 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.5411, allocations: 0 / 0.8588 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.5413, allocations: 47.97 kB / 0.8589 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.5415, allocations: 64.81 kB / 0.8589 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5415, allocations: 4 kB / 0.8589 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.5432, allocations: 1.817 MB / 0.8607 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5432, allocations: 4.031 kB / 0.8607 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.5439, allocations: 441.5 kB / 0.8611 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.5441, allocations: 176.6 kB / 0.8613 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.5441, allocations: 4 kB / 0.8613 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.5446, allocations: 21.67 kB / 0.8613 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.5446, allocations: 23.91 kB / 0.8614 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.5447, allocations: 12 kB / 0.8614 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000445/0.5451, allocations: 402.8 kB / 0.8618 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5451, allocations: 0 / 0.8618 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005417/0.5457, allocations: 199.7 kB / 0.8619 GB, free: 5.293 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.5468, allocations: 1.045 MB / 0.863 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008419/0.5477, allocations: 0.5283 MB / 0.8635 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5477, allocations: 0 / 0.8635 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.5481, allocations: 258.5 kB / 0.8637 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.5496, allocations: 367.6 kB / 0.8641 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2538/0.8035, allocations: 4.47 MB / 0.8684 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.8039, allocations: 0.9044 MB / 0.8693 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.8043, allocations: 112.3 kB / 0.8694 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.8045, allocations: 194 kB / 0.8696 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.8045, allocations: 0 / 0.8696 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5949/1.399, allocations: 17.81 MB / 0.887 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.4, allocations: 13.95 kB / 0.887 GB, free: 183.1 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)