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.9004/0.9004, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001307/0.001307, allocations: 183.8 kB / 182.2 MB, free: 9.473 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.695/1.695, allocations: 221.5 MB / 436.4 MB, free: 13.38 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.001388/0.001388, allocations: 103.2 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 275.2 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.549e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5609, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.424/5.985, allocations: 1.834 GB / 2.591 GB, free: 183.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/5.986, allocations: 87.02 kB / 2.591 GB, free: 183.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.993/9.979, allocations: 1.008 GB / 3.599 GB, free: 139 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/9.979, allocations: 0 / 3.599 GB, free: 139 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001176/9.979, allocations: 46.48 kB / 3.599 GB, free: 139 MB / 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.00722/9.986, allocations: 1.845 MB / 3.601 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/9.986, allocations: 10.28 kB / 3.601 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/9.991, allocations: 0.6922 MB / 3.602 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/9.994, allocations: 1.078 MB / 3.603 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/9.995, allocations: 29.86 kB / 3.603 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/9.995, allocations: 57.28 kB / 3.603 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/9.996, allocations: 0.8298 MB / 3.604 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/9.998, allocations: 1.152 MB / 3.605 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/9.998, allocations: 7.156 kB / 3.605 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/9.998, allocations: 0 / 3.605 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/9.998, allocations: 44.2 kB / 3.605 GB, free: 137.9 MB / 0.7136 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.007891/10.01, allocations: 5.584 MB / 3.61 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/10.01, allocations: 0.8991 MB / 3.611 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/10.01, allocations: 484.3 kB / 3.612 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/10.01, allocations: 0.5782 MB / 3.612 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007664/10.01, allocations: 0.5773 MB / 3.613 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 2.816e-06/10.01, allocations: 0 / 3.613 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.002296/10.01, allocations: 1.063 MB / 3.614 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/10.01, allocations: 60.03 kB / 3.614 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/10.01, allocations: 0.8597 MB / 3.615 GB, free: 134 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/10.01, allocations: 33.05 kB / 3.615 GB, free: 134 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/10.01, allocations: 0.593 MB / 3.615 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/10.01, allocations: 264.9 kB / 3.615 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/10.01, allocations: 0 / 3.615 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.709e-05/10.01, allocations: 348.3 kB / 3.616 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/10.01, allocations: 401 kB / 3.616 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/10.01, allocations: 0.7332 MB / 3.617 GB, free: 133 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/10.02, allocations: 459.6 kB / 3.617 GB, free: 133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/10.02, allocations: 6.75 kB / 3.617 GB, free: 133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001735/10.02, allocations: 1.151 MB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/10.02, allocations: 11.5 kB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/10.02, allocations: 11.56 kB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/10.02, allocations: 10.91 kB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/10.02, allocations: 318.9 kB / 3.619 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/10.02, allocations: 13.22 kB / 3.619 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/10.02, allocations: 194.9 kB / 3.619 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/10.02, allocations: 59.52 kB / 3.619 GB, free: 132.8 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 () * 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.0002574/10.02, allocations: 147.1 kB / 3.619 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001594/10.02, allocations: 1.005 MB / 3.62 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/10.02, allocations: 120.7 kB / 3.62 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/10.02, allocations: 1.155 MB / 3.621 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/10.02, allocations: 7.594 kB / 3.621 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/10.02, allocations: 0 / 3.621 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/10.03, allocations: 9.953 kB / 3.621 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/10.03, allocations: 2.593 MB / 3.624 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/10.03, allocations: 3.656 kB / 3.624 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/10.03, allocations: 254.4 kB / 3.624 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/10.03, allocations: 7.438 kB / 3.624 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.99e-05/10.03, allocations: 33.36 kB / 3.624 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/10.03, allocations: 10.78 kB / 3.624 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/10.03, allocations: 3.469 kB / 3.624 GB, free: 132 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/10.03, allocations: 2.087 MB / 3.626 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/10.03, allocations: 329.2 kB / 3.627 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/10.03, allocations: 10.12 kB / 3.627 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/10.04, allocations: 136.3 kB / 3.627 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/10.04, allocations: 65.56 kB / 3.627 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/10.04, allocations: 39.28 kB / 3.627 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008257/10.04, allocations: 0.6447 MB / 3.627 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/10.04, allocations: 2.594 kB / 3.627 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001764/10.04, allocations: 460.9 kB / 3.628 GB, free: 131.1 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) * 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.006464/10.05, allocations: 5.784 MB / 3.634 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001699/10.05, allocations: 0.998 MB / 3.635 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/10.05, allocations: 2.812 kB / 3.635 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/10.05, allocations: 0.5133 MB / 3.635 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/10.05, allocations: 429.8 kB / 3.635 GB, free: 128.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/10.07, allocations: 2.935 MB / 3.638 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/10.07, allocations: 1.21 MB / 3.64 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001636/10.07, allocations: 357.6 kB / 3.64 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007296/10.07, allocations: 0.4962 MB / 3.64 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of SimCode: time 2.515e-06/10.07, allocations: 3.406 kB / 3.64 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07858/10.15, allocations: 41.01 MB / 3.68 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/10.15, allocations: 195 kB / 3.681 GB, free: 125.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/13.94, allocations: 0 / 3.681 GB, free: 125.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)