Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_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.001783/0.001783, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7687/0.7687, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.617/1.617, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 94.64 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.39e-05, allocations: 4.719 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 82.32 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.447/4.61, allocations: 1.837 GB / 2.477 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/4.61, allocations: 83.95 kB / 2.477 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.255/8.866, allocations: 1.018 GB / 3.495 GB, free: 119.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/8.866, allocations: 3.375 kB / 3.495 GB, free: 119.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001837/8.866, allocations: 52.75 kB / 3.495 GB, free: 119.8 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.007628/8.874, allocations: 1.824 MB / 3.497 GB, free: 118.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/8.874, allocations: 14.69 kB / 3.497 GB, free: 118.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004717/8.874, allocations: 140 kB / 3.497 GB, free: 118.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004369/8.878, allocations: 0.695 MB / 3.498 GB, free: 118.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/8.883, allocations: 1.041 MB / 3.499 GB, free: 117.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/8.883, allocations: 66.22 kB / 3.499 GB, free: 117.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004765/8.883, allocations: 84.14 kB / 3.499 GB, free: 117.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/8.887, allocations: 1.255 MB / 3.5 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/8.887, allocations: 7.844 kB / 3.5 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/8.887, allocations: 31.31 kB / 3.5 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/8.887, allocations: 39.05 kB / 3.5 GB, free: 116.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/8.889, allocations: 1.019 MB / 3.501 GB, free: 116.2 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.00964/8.899, allocations: 5.309 MB / 3.507 GB, free: 112 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/8.9, allocations: 0.9182 MB / 3.508 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/8.901, allocations: 497.4 kB / 3.508 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/8.902, allocations: 0.9475 MB / 3.509 GB, free: 109.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008998/8.903, allocations: 0.6083 MB / 3.51 GB, free: 109 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.877e-06/8.903, allocations: 0 / 3.51 GB, free: 109 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002695/8.906, allocations: 1.154 MB / 3.511 GB, free: 107.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/8.906, allocations: 60.19 kB / 3.511 GB, free: 107.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/8.908, allocations: 1.116 MB / 3.512 GB, free: 106.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/8.908, allocations: 49.69 kB / 3.512 GB, free: 106.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/8.908, allocations: 0.5677 MB / 3.512 GB, free: 106.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/8.908, allocations: 279.3 kB / 3.513 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/8.909, allocations: 22.88 kB / 3.513 GB, free: 105.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001025/8.909, allocations: 341.9 kB / 3.513 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/8.909, allocations: 425.8 kB / 3.513 GB, free: 105 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/8.91, allocations: 0.7116 MB / 3.514 GB, free: 104.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/8.911, allocations: 469.9 kB / 3.515 GB, free: 103.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/8.911, allocations: 4 kB / 3.515 GB, free: 103.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002322/8.913, allocations: 1.249 MB / 3.516 GB, free: 102.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/8.913, allocations: 8 kB / 3.516 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/8.913, allocations: 8 kB / 3.516 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/8.913, allocations: 19.98 kB / 3.516 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/8.915, allocations: 318 kB / 3.516 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/8.915, allocations: 15.98 kB / 3.516 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/8.917, allocations: 228 kB / 3.516 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/8.917, allocations: 59.95 kB / 3.516 GB, free: 101.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.0002687/8.917, allocations: 170.9 kB / 3.517 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/8.918, allocations: 134.3 kB / 3.517 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/8.92, allocations: 1.263 MB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/8.92, allocations: 8 kB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/8.92, allocations: 7.953 kB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/8.92, allocations: 3.984 kB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/8.924, allocations: 2.749 MB / 3.521 GB, free: 97.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/8.924, allocations: 4 kB / 3.521 GB, free: 97.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/8.926, allocations: 248.9 kB / 3.521 GB, free: 97.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/8.926, allocations: 8 kB / 3.521 GB, free: 97.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/8.926, allocations: 39.91 kB / 3.521 GB, free: 97.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/8.926, allocations: 8 kB / 3.521 GB, free: 97.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/8.926, allocations: 9.406 kB / 3.521 GB, free: 97.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/8.929, allocations: 2.206 MB / 3.523 GB, free: 94.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007607/8.93, allocations: 355.1 kB / 3.523 GB, free: 94.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/8.93, allocations: 23.98 kB / 3.523 GB, free: 94.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/8.931, allocations: 135.4 kB / 3.524 GB, free: 94.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/8.931, allocations: 76.09 kB / 3.524 GB, free: 94.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/8.931, allocations: 37.94 kB / 3.524 GB, free: 94.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001239/8.933, allocations: 0.8586 MB / 3.525 GB, free: 93.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.933, allocations: 0 / 3.525 GB, free: 93.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001994/8.935, allocations: 0.4997 MB / 3.525 GB, free: 92.83 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.006864/8.942, allocations: 5.704 MB / 3.531 GB, free: 87.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001886/8.944, allocations: 1.056 MB / 3.532 GB, free: 86.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/8.944, allocations: 0 / 3.532 GB, free: 86.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008446/8.944, allocations: 0.5421 MB / 3.532 GB, free: 85.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/8.947, allocations: 0.578 MB / 3.533 GB, free: 85.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/8.953, allocations: 2.345 MB / 3.535 GB, free: 82.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/8.953, allocations: 1.211 MB / 3.536 GB, free: 81.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001741/8.955, allocations: 380.4 kB / 3.537 GB, free: 81.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/8.956, allocations: 0.5109 MB / 3.537 GB, free: 80.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/8.956, allocations: 0 / 3.537 GB, free: 80.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/9.06, allocations: 64.47 MB / 3.6 GB, free: 16.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/9.06, allocations: 192.5 kB / 3.6 GB, free: 16.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.318/13.38, allocations: 0 / 3.6 GB, free: 16.7 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)