Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8551/0.8551, allocations: 143.3 MB / 158.3 MB, free: 5.77 MB / 122.7 MB 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: 177.1 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009066/0.0009062, allocations: 88.34 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001857, allocations: 274 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006117/0.0006118, allocations: 11.34 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.243, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.571/5.814, allocations: 1.834 GB / 2.608 GB, free: 189.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/5.815, allocations: 83.39 kB / 2.608 GB, free: 189 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.534/9.349, allocations: 1.02 GB / 3.629 GB, free: 368 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/9.349, allocations: 0 / 3.629 GB, free: 368 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001215/9.349, allocations: 43.92 kB / 3.629 GB, free: 324 kB / 0.7136 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.4861/9.835, allocations: 2.052 MB / 3.631 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/9.835, allocations: 14.02 kB / 3.631 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003844/9.835, allocations: 136 kB / 3.631 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00423/9.84, allocations: 0.6925 MB / 3.631 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/9.843, allocations: 1.082 MB / 3.633 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/9.843, allocations: 63.66 kB / 3.633 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/9.844, allocations: 84.97 kB / 3.633 GB, free: 124.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/9.847, allocations: 1.467 MB / 3.634 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/9.847, allocations: 4.125 kB / 3.634 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/9.847, allocations: 30.5 kB / 3.634 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/9.847, allocations: 44.83 kB / 3.634 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/9.851, allocations: 1.385 MB / 3.636 GB, free: 124.3 MB / 0.7136 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.00977/9.861, allocations: 5.792 MB / 3.641 GB, free: 121.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/9.865, allocations: 1.387 MB / 3.643 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/9.865, allocations: 0.5865 MB / 3.643 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002021/9.867, allocations: 0.7829 MB / 3.644 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/9.867, allocations: 3.719 kB / 3.644 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.006668/9.874, allocations: 2.082 MB / 3.646 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/9.874, allocations: 60.75 kB / 3.646 GB, free: 120.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/9.876, allocations: 1.108 MB / 3.647 GB, free: 120.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/9.876, allocations: 43.86 kB / 3.647 GB, free: 120.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/9.877, allocations: 0.5884 MB / 3.648 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/9.877, allocations: 277.3 kB / 3.648 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/9.877, allocations: 17.97 kB / 3.648 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001129/9.877, allocations: 346.4 kB / 3.648 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/9.879, allocations: 0.6057 MB / 3.649 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/9.881, allocations: 0.9428 MB / 3.65 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/9.883, allocations: 0.6521 MB / 3.65 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/9.883, allocations: 2.5 kB / 3.65 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004598/9.888, allocations: 1.627 MB / 3.652 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/9.888, allocations: 11.55 kB / 3.652 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/9.888, allocations: 8.375 kB / 3.652 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/9.888, allocations: 12.97 kB / 3.652 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/9.889, allocations: 314.5 kB / 3.652 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.42e-05/9.889, allocations: 19.64 kB / 3.652 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/9.891, allocations: 240.9 kB / 3.653 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/9.892, allocations: 56.05 kB / 3.653 GB, free: 119.2 MB / 0.7136 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 () * 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.0007842/9.892, allocations: 347.3 kB / 3.653 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/9.893, allocations: 135.2 kB / 3.653 GB, free: 119 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/9.897, allocations: 1.61 MB / 3.655 GB, free: 119 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/9.897, allocations: 11.84 kB / 3.655 GB, free: 119 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/9.897, allocations: 3.891 kB / 3.655 GB, free: 119 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/9.897, allocations: 3.516 kB / 3.655 GB, free: 119 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/9.904, allocations: 3.13 MB / 3.658 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/9.904, allocations: 3.594 kB / 3.658 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/9.905, allocations: 245.5 kB / 3.658 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/9.905, allocations: 8.5 kB / 3.658 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/9.905, allocations: 42.45 kB / 3.658 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/9.905, allocations: 14.64 kB / 3.658 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/9.905, allocations: 4.5 kB / 3.658 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/9.911, allocations: 2.758 MB / 3.661 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/9.912, allocations: 343.8 kB / 3.661 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/9.913, allocations: 26.11 kB / 3.661 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/9.914, allocations: 142.7 kB / 3.661 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/9.914, allocations: 64.06 kB / 3.661 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/9.914, allocations: 48.52 kB / 3.661 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001078/9.915, allocations: 0.8614 MB / 3.662 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/9.915, allocations: 0 / 3.662 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002059/9.917, allocations: 0.4968 MB / 3.663 GB, free: 117.6 MB / 0.7136 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) * Number of clocked states: 0 () * 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.009366/9.927, allocations: 6.298 MB / 3.669 GB, free: 114.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003925/9.931, allocations: 1.436 MB / 3.67 GB, free: 114.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/9.931, allocations: 0 / 3.67 GB, free: 114.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/9.932, allocations: 0.7254 MB / 3.671 GB, free: 114.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/9.935, allocations: 0.5779 MB / 3.672 GB, free: 114.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03019/9.966, allocations: 14.42 MB / 3.686 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/9.967, allocations: 1.214 MB / 3.687 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001976/9.968, allocations: 380.2 kB / 3.687 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/9.969, allocations: 0.5053 MB / 3.688 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/9.969, allocations: 0 / 3.688 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/10.07, allocations: 59.73 MB / 3.746 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/10.07, allocations: 254.5 kB / 3.746 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.12/14.19, allocations: 0 / 3.746 GB, free: 104.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)