Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.002061/0.002061, 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.8427/0.8427, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.782/1.782, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.001138/0.001138, allocations: 97.98 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.945e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5543, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.292/5.846, allocations: 1.836 GB / 2.47 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/5.847, allocations: 85.89 kB / 2.47 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.91/9.756, allocations: 1.007 GB / 3.477 GB, free: 126.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/9.756, allocations: 0 / 3.477 GB, free: 126.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001196/9.757, allocations: 42.09 kB / 3.477 GB, free: 126.3 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.006904/9.763, allocations: 1.829 MB / 3.478 GB, free: 125.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/9.764, allocations: 10.03 kB / 3.478 GB, free: 125.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/9.768, allocations: 0.6966 MB / 3.479 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/9.771, allocations: 1.056 MB / 3.48 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/9.771, allocations: 23.34 kB / 3.48 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/9.771, allocations: 56.12 kB / 3.48 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001566/9.773, allocations: 0.8307 MB / 3.481 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/9.775, allocations: 1.155 MB / 3.482 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/9.775, allocations: 2.344 kB / 3.482 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.812e-05/9.775, allocations: 3.281 kB / 3.482 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/9.775, allocations: 42.78 kB / 3.482 GB, free: 125 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.007425/9.782, allocations: 5.568 MB / 3.488 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/9.783, allocations: 0.8962 MB / 3.489 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/9.784, allocations: 483.3 kB / 3.489 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000728/9.785, allocations: 0.5788 MB / 3.49 GB, free: 121.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/9.786, allocations: 0.5789 MB / 3.49 GB, free: 121.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.118e-06/9.786, allocations: 0 / 3.49 GB, free: 121.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002068/9.788, allocations: 1.063 MB / 3.491 GB, free: 121.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/9.788, allocations: 70.3 kB / 3.491 GB, free: 121.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/9.789, allocations: 0.8405 MB / 3.492 GB, free: 121.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/9.789, allocations: 36.48 kB / 3.492 GB, free: 121.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/9.789, allocations: 0.5944 MB / 3.493 GB, free: 120.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/9.789, allocations: 266 kB / 3.493 GB, free: 120.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/9.789, allocations: 0 / 3.493 GB, free: 120.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/9.79, allocations: 341.1 kB / 3.493 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/9.79, allocations: 402.7 kB / 3.494 GB, free: 120.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/9.791, allocations: 0.697 MB / 3.494 GB, free: 120.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/9.791, allocations: 462.3 kB / 3.495 GB, free: 120.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/9.791, allocations: 3.625 kB / 3.495 GB, free: 120.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001661/9.793, allocations: 1.149 MB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/9.793, allocations: 15.66 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/9.793, allocations: 10.05 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/9.793, allocations: 13.41 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/9.795, allocations: 312 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/9.795, allocations: 21.86 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/9.796, allocations: 193.9 kB / 3.496 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/9.796, allocations: 60.25 kB / 3.497 GB, free: 120 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0002253/9.796, allocations: 140.2 kB / 3.497 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001491/9.798, allocations: 0.9951 MB / 3.498 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/9.798, allocations: 119.4 kB / 3.498 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/9.8, allocations: 1.167 MB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/9.8, allocations: 7.344 kB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/9.8, allocations: 2.25 kB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/9.8, allocations: 3.75 kB / 3.499 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/9.804, allocations: 2.583 MB / 3.501 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/9.804, allocations: 2.531 kB / 3.501 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/9.805, allocations: 251 kB / 3.502 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/9.805, allocations: 7.344 kB / 3.502 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/9.805, allocations: 27.45 kB / 3.502 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/9.805, allocations: 12.22 kB / 3.502 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/9.805, allocations: 4.656 kB / 3.502 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/9.808, allocations: 2.087 MB / 3.504 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005471/9.808, allocations: 323.5 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/9.808, allocations: 9.547 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/9.81, allocations: 149 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/9.81, allocations: 64.31 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/9.81, allocations: 41.12 kB / 3.504 GB, free: 118.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007199/9.811, allocations: 0.6402 MB / 3.505 GB, free: 118.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.811, allocations: 0 / 3.505 GB, free: 118.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001551/9.812, allocations: 455.8 kB / 3.505 GB, free: 118.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (86): * Single equations (assignments): 80 * 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.005838/9.818, allocations: 5.771 MB / 3.511 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001546/9.819, allocations: 0.9932 MB / 3.512 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/9.82, allocations: 0 / 3.512 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006863/9.82, allocations: 0.5199 MB / 3.512 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/9.822, allocations: 421.5 kB / 3.513 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/9.837, allocations: 2.933 MB / 3.516 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/9.838, allocations: 1.207 MB / 3.517 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002309/9.84, allocations: 349.5 kB / 3.517 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/9.841, allocations: 0.4962 MB / 3.518 GB, free: 114.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.553e-06/9.841, allocations: 0 / 3.518 GB, free: 114.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09645/9.938, allocations: 40.42 MB / 3.557 GB, free: 112.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/9.938, allocations: 175.2 kB / 3.557 GB, free: 112.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/13.84, allocations: 0 / 3.557 GB, free: 112.1 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)