Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9753/0.9753, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009065/0.0009065, allocations: 108.9 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.832e-05, allocations: 8 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4768, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.573/5.05, allocations: 1.836 GB / 2.47 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/5.051, allocations: 82.64 kB / 2.47 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.324/9.375, allocations: 1.006 GB / 3.477 GB, free: 127 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.372e-06/9.375, allocations: 0 / 3.477 GB, free: 127 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002309/9.375, allocations: 42.58 kB / 3.477 GB, free: 127 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.008352/9.384, allocations: 1.823 MB / 3.478 GB, free: 126.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/9.384, allocations: 7.375 kB / 3.478 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/9.388, allocations: 0.7007 MB / 3.479 GB, free: 126.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/9.393, allocations: 1.05 MB / 3.48 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/9.393, allocations: 25.94 kB / 3.48 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/9.393, allocations: 56.02 kB / 3.48 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001525/9.394, allocations: 0.8609 MB / 3.481 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/9.396, allocations: 1.145 MB / 3.482 GB, free: 125.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/9.396, allocations: 3.562 kB / 3.482 GB, free: 125.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/9.396, allocations: 3.234 kB / 3.482 GB, free: 125.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/9.396, allocations: 39.86 kB / 3.482 GB, free: 125.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00715/9.403, allocations: 5.095 MB / 3.487 GB, free: 123.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/9.405, allocations: 0.8771 MB / 3.488 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/9.405, allocations: 480.9 kB / 3.488 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/9.406, allocations: 0.9354 MB / 3.489 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007785/9.407, allocations: 0.5867 MB / 3.49 GB, free: 122.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/9.407, allocations: 0 / 3.49 GB, free: 122.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002655/9.41, allocations: 1.132 MB / 3.491 GB, free: 122.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/9.41, allocations: 59.94 kB / 3.491 GB, free: 122.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/9.411, allocations: 0.8439 MB / 3.492 GB, free: 122 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/9.411, allocations: 25.7 kB / 3.492 GB, free: 122 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/9.411, allocations: 0.584 MB / 3.493 GB, free: 121.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/9.412, allocations: 270 kB / 3.493 GB, free: 121.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/9.412, allocations: 3.656 kB / 3.493 GB, free: 121.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001097/9.412, allocations: 343.2 kB / 3.493 GB, free: 121.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/9.413, allocations: 409.6 kB / 3.493 GB, free: 121.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007619/9.413, allocations: 0.687 MB / 3.494 GB, free: 121 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/9.414, allocations: 471 kB / 3.495 GB, free: 121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/9.414, allocations: 3.781 kB / 3.495 GB, free: 121 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00198/9.416, allocations: 1.151 MB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/9.416, allocations: 9.719 kB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/9.416, allocations: 10.72 kB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/9.416, allocations: 18.66 kB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/9.418, allocations: 315.6 kB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/9.418, allocations: 16.31 kB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/9.419, allocations: 185.7 kB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/9.419, allocations: 55.64 kB / 3.496 GB, free: 120.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002405/9.42, allocations: 144.5 kB / 3.496 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001555/9.421, allocations: 1.023 MB / 3.497 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/9.421, allocations: 118.1 kB / 3.498 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/9.423, allocations: 1.179 MB / 3.499 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/9.423, allocations: 10.44 kB / 3.499 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/9.423, allocations: 0 / 3.499 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/9.423, allocations: 6.141 kB / 3.499 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/9.427, allocations: 2.604 MB / 3.501 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/9.427, allocations: 4.844 kB / 3.501 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/9.429, allocations: 256.2 kB / 3.502 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/9.429, allocations: 7.062 kB / 3.502 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/9.429, allocations: 29.45 kB / 3.502 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/9.429, allocations: 7.656 kB / 3.502 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/9.429, allocations: 5.812 kB / 3.502 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/9.431, allocations: 2.114 MB / 3.504 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/9.432, allocations: 331.5 kB / 3.504 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/9.432, allocations: 16.69 kB / 3.504 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/9.433, allocations: 130.4 kB / 3.504 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/9.434, allocations: 67.42 kB / 3.504 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/9.434, allocations: 39.62 kB / 3.504 GB, free: 119.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007818/9.434, allocations: 0.6417 MB / 3.505 GB, free: 119.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.434, allocations: 0 / 3.505 GB, free: 119.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001705/9.436, allocations: 456.6 kB / 3.505 GB, free: 119.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006257/9.442, allocations: 5.801 MB / 3.511 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001826/9.444, allocations: 0.9941 MB / 3.512 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/9.444, allocations: 2.25 kB / 3.512 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007549/9.445, allocations: 0.5178 MB / 3.512 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/9.447, allocations: 416.8 kB / 3.513 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/9.452, allocations: 2.246 MB / 3.515 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/9.453, allocations: 1.202 MB / 3.516 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001584/9.455, allocations: 356 kB / 3.517 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/9.455, allocations: 0.4981 MB / 3.517 GB, free: 115.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.482e-06/9.455, allocations: 0 / 3.517 GB, free: 115.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08311/9.538, allocations: 40.63 MB / 3.557 GB, free: 113.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/9.539, allocations: 171.8 kB / 3.557 GB, free: 113 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/13.11, allocations: 0 / 3.557 GB, free: 113 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)