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.00613/0.00613, allocations: 171 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7361/0.7361, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001134/0.001134, allocations: 97.89 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4609, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.881/5.342, allocations: 1.837 GB / 2.486 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/5.343, allocations: 93.02 kB / 2.486 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258/9.6, allocations: 1.019 GB / 3.505 GB, free: 116.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.328e-06/9.6, allocations: 0 / 3.505 GB, free: 116.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003811/9.601, allocations: 39.11 kB / 3.505 GB, free: 116.9 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.01075/9.612, allocations: 2.033 MB / 3.507 GB, free: 116.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/9.612, allocations: 10.22 kB / 3.507 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006017/9.612, allocations: 134.1 kB / 3.507 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/9.617, allocations: 0.693 MB / 3.508 GB, free: 116 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/9.621, allocations: 1.05 MB / 3.509 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/9.621, allocations: 73.45 kB / 3.509 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004313/9.622, allocations: 84.06 kB / 3.509 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/9.626, allocations: 1.454 MB / 3.511 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/9.626, allocations: 3.75 kB / 3.511 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/9.626, allocations: 37.73 kB / 3.511 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/9.626, allocations: 47.84 kB / 3.511 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003927/9.63, allocations: 1.402 MB / 3.512 GB, free: 115.5 MB / 0.698 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.009786/9.64, allocations: 5.311 MB / 3.517 GB, free: 113 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/9.643, allocations: 1.306 MB / 3.519 GB, free: 113 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/9.645, allocations: 0.9416 MB / 3.52 GB, free: 112 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002066/9.647, allocations: 0.8015 MB / 3.52 GB, free: 112 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.017e-06/9.647, allocations: 3.5 kB / 3.52 GB, free: 112 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.006599/9.653, allocations: 2.129 MB / 3.522 GB, free: 111.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/9.653, allocations: 62.72 kB / 3.523 GB, free: 111.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/9.656, allocations: 1.119 MB / 3.524 GB, free: 111.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/9.656, allocations: 49.86 kB / 3.524 GB, free: 111.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/9.656, allocations: 0.5723 MB / 3.524 GB, free: 111.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/9.657, allocations: 281.7 kB / 3.524 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/9.657, allocations: 20.09 kB / 3.525 GB, free: 111.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/9.657, allocations: 350 kB / 3.525 GB, free: 111 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/9.659, allocations: 0.6059 MB / 3.525 GB, free: 111 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/9.661, allocations: 0.9112 MB / 3.526 GB, free: 110.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/9.662, allocations: 0.6607 MB / 3.527 GB, free: 110.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/9.662, allocations: 0 / 3.527 GB, free: 110.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004389/9.667, allocations: 1.638 MB / 3.529 GB, free: 110.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/9.667, allocations: 7.188 kB / 3.529 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/9.667, allocations: 7.562 kB / 3.529 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.104e-05/9.667, allocations: 11.19 kB / 3.529 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/9.668, allocations: 319.6 kB / 3.529 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/9.669, allocations: 16.28 kB / 3.529 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/9.671, allocations: 230.8 kB / 3.529 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/9.671, allocations: 54.44 kB / 3.529 GB, free: 110.5 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 () * Number of clocked 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.0008754/9.672, allocations: 348.6 kB / 3.53 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/9.672, allocations: 136.5 kB / 3.53 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/9.677, allocations: 1.641 MB / 3.531 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/9.677, allocations: 7.062 kB / 3.531 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/9.677, allocations: 3.844 kB / 3.531 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/9.677, allocations: 6.562 kB / 3.531 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008355/9.685, allocations: 3.143 MB / 3.534 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/9.685, allocations: 7.406 kB / 3.534 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/9.687, allocations: 248.8 kB / 3.535 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/9.687, allocations: 10.66 kB / 3.535 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/9.687, allocations: 37.48 kB / 3.535 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/9.687, allocations: 14.17 kB / 3.535 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/9.687, allocations: 7.125 kB / 3.535 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/9.693, allocations: 2.791 MB / 3.537 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/9.695, allocations: 356.5 kB / 3.538 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/9.695, allocations: 20.28 kB / 3.538 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/9.697, allocations: 143.6 kB / 3.538 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/9.697, allocations: 68.53 kB / 3.538 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/9.697, allocations: 37.88 kB / 3.538 GB, free: 108.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001651/9.699, allocations: 0.8776 MB / 3.539 GB, free: 108.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/9.699, allocations: 0 / 3.539 GB, free: 108.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002552/9.702, allocations: 0.497 MB / 3.539 GB, free: 108.7 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) * Number of clocked states: 0 () * 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.01127/9.713, allocations: 6.322 MB / 3.545 GB, free: 106 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004503/9.717, allocations: 1.44 MB / 3.547 GB, free: 106 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/9.718, allocations: 0 / 3.547 GB, free: 106 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/9.72, allocations: 0.7276 MB / 3.548 GB, free: 106 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/9.723, allocations: 0.5791 MB / 3.548 GB, free: 106 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/9.746, allocations: 13.45 MB / 3.561 GB, free: 98.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/9.747, allocations: 1.204 MB / 3.562 GB, free: 97.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00238/9.75, allocations: 381.3 kB / 3.563 GB, free: 97.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/9.751, allocations: 0.5071 MB / 3.563 GB, free: 97.89 MB / 0.698 GB Notification: Performance of SimCode: time 1.994e-06/9.751, allocations: 0 / 3.563 GB, free: 97.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/9.852, allocations: 60.12 MB / 3.622 GB, free: 44.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/9.852, allocations: 218.4 kB / 3.622 GB, free: 44.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.412/14.26, allocations: 0 / 3.622 GB, free: 44.43 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)