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.001328/0.001328, allocations: 174.8 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.7628/0.7628, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.544/1.544, 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.000946/0.0009459, allocations: 89.41 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.851e-05, allocations: 7.375 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.501/4.658, allocations: 1.837 GB / 2.477 GB, free: 95.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/4.658, allocations: 83.95 kB / 2.477 GB, free: 94.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.111/8.769, allocations: 1.018 GB / 3.495 GB, free: 120 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/8.769, allocations: 0 / 3.495 GB, free: 120 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001872/8.769, allocations: 42.09 kB / 3.495 GB, free: 120 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.007985/8.777, allocations: 1.834 MB / 3.497 GB, free: 118.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/8.777, allocations: 9 kB / 3.497 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004695/8.778, allocations: 139.5 kB / 3.497 GB, free: 118.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/8.782, allocations: 0.6926 MB / 3.498 GB, free: 118.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/8.787, allocations: 1.042 MB / 3.499 GB, free: 117.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/8.787, allocations: 67.91 kB / 3.499 GB, free: 117.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/8.787, allocations: 82.58 kB / 3.499 GB, free: 117.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/8.79, allocations: 1.247 MB / 3.5 GB, free: 116.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/8.79, allocations: 3.938 kB / 3.5 GB, free: 116.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/8.79, allocations: 40.89 kB / 3.5 GB, free: 116.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/8.79, allocations: 38.83 kB / 3.5 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/8.792, allocations: 1.016 MB / 3.501 GB, free: 116.3 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.007606/8.8, allocations: 5.309 MB / 3.507 GB, free: 112.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/8.801, allocations: 0.9232 MB / 3.508 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/8.802, allocations: 0.496 MB / 3.508 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/8.803, allocations: 0.9518 MB / 3.509 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008432/8.804, allocations: 0.5994 MB / 3.51 GB, free: 109 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 2.986e-06/8.804, allocations: 4 kB / 3.51 GB, free: 109 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002509/8.806, allocations: 1.154 MB / 3.511 GB, free: 107.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/8.806, allocations: 60.19 kB / 3.511 GB, free: 107.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/8.808, allocations: 1.106 MB / 3.512 GB, free: 106.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.44e-05/8.808, allocations: 49.7 kB / 3.512 GB, free: 106.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/8.808, allocations: 0.5772 MB / 3.512 GB, free: 106 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/8.808, allocations: 274.9 kB / 3.513 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/8.809, allocations: 20 kB / 3.513 GB, free: 105.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/8.809, allocations: 337.9 kB / 3.513 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/8.809, allocations: 429.8 kB / 3.513 GB, free: 105 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/8.81, allocations: 0.7116 MB / 3.514 GB, free: 104.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/8.811, allocations: 469.4 kB / 3.515 GB, free: 103.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/8.811, allocations: 6.5 kB / 3.515 GB, free: 103.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001843/8.813, allocations: 1.25 MB / 3.516 GB, free: 102.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/8.813, allocations: 8 kB / 3.516 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/8.813, allocations: 4 kB / 3.516 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/8.813, allocations: 16 kB / 3.516 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/8.814, allocations: 316.8 kB / 3.516 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/8.814, allocations: 19.92 kB / 3.516 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/8.816, allocations: 232.7 kB / 3.516 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/8.816, allocations: 59.95 kB / 3.516 GB, free: 101.8 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.0002178/8.816, allocations: 170.8 kB / 3.517 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/8.816, allocations: 134.3 kB / 3.517 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/8.818, allocations: 1.26 MB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/8.818, allocations: 8 kB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/8.818, allocations: 7.938 kB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/8.818, allocations: 3.984 kB / 3.518 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/8.822, allocations: 2.746 MB / 3.521 GB, free: 97.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/8.822, allocations: 4 kB / 3.521 GB, free: 97.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/8.823, allocations: 248.8 kB / 3.521 GB, free: 97.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/8.823, allocations: 8 kB / 3.521 GB, free: 97.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.15e-05/8.823, allocations: 43.91 kB / 3.521 GB, free: 97.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/8.824, allocations: 13.45 kB / 3.521 GB, free: 97.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/8.824, allocations: 8 kB / 3.521 GB, free: 97.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/8.826, allocations: 2.2 MB / 3.523 GB, free: 94.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006731/8.827, allocations: 355.1 kB / 3.523 GB, free: 94.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/8.827, allocations: 23.98 kB / 3.523 GB, free: 94.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/8.828, allocations: 134.4 kB / 3.524 GB, free: 94.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/8.828, allocations: 79.89 kB / 3.524 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/8.828, allocations: 35.97 kB / 3.524 GB, free: 94.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009951/8.829, allocations: 0.8586 MB / 3.525 GB, free: 93.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/8.829, allocations: 0 / 3.525 GB, free: 93.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001761/8.831, allocations: 0.5023 MB / 3.525 GB, free: 92.82 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.006605/8.838, allocations: 5.705 MB / 3.531 GB, free: 87.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001747/8.84, allocations: 1.052 MB / 3.532 GB, free: 86.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/8.84, allocations: 0 / 3.532 GB, free: 86.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007534/8.84, allocations: 0.543 MB / 3.532 GB, free: 85.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/8.843, allocations: 0.5775 MB / 3.533 GB, free: 85.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/8.847, allocations: 2.346 MB / 3.535 GB, free: 82.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/8.848, allocations: 1.204 MB / 3.536 GB, free: 81.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001444/8.849, allocations: 385 kB / 3.537 GB, free: 81.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/8.85, allocations: 0.5109 MB / 3.537 GB, free: 80.84 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/8.85, allocations: 4 kB / 3.537 GB, free: 80.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09748/8.948, allocations: 64.46 MB / 3.6 GB, free: 17.01 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/8.948, allocations: 194.4 kB / 3.6 GB, free: 16.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.234/13.18, allocations: 4 kB / 3.6 GB, free: 16.78 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)