Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.9521/0.9521, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001531/0.001531, allocations: 188.8 kB / 182.2 MB, free: 9.449 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.562/1.562, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001242/0.001242, allocations: 90.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 272.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.186e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4765, allocations: 82.78 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.013/5.489, allocations: 1.834 GB / 2.591 GB, free: 226.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/5.49, allocations: 87.05 kB / 2.591 GB, free: 226.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.489/8.979, allocations: 1.008 GB / 3.599 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.154e-06/8.979, allocations: 0 / 3.599 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001205/8.979, allocations: 43.92 kB / 3.599 GB, free: 9.262 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.007102/8.986, allocations: 1.833 MB / 3.601 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/8.986, allocations: 16.03 kB / 3.601 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/8.991, allocations: 0.6889 MB / 3.601 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/8.994, allocations: 1.09 MB / 3.603 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/8.994, allocations: 28 kB / 3.603 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/8.994, allocations: 55.98 kB / 3.603 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001503/8.996, allocations: 0.8669 MB / 3.603 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/8.998, allocations: 1.137 MB / 3.605 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/8.998, allocations: 0 / 3.605 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-05/8.998, allocations: 4 kB / 3.605 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/8.998, allocations: 37.98 kB / 3.605 GB, free: 3.34 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.5532/9.551, allocations: 5.108 MB / 3.61 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/9.553, allocations: 0.8733 MB / 3.61 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/9.554, allocations: 480.8 kB / 3.611 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/9.555, allocations: 0.9399 MB / 3.612 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/9.556, allocations: 0.5855 MB / 3.612 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.457e-06/9.556, allocations: 2.906 kB / 3.612 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.003398/9.56, allocations: 1.131 MB / 3.614 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/9.56, allocations: 61.05 kB / 3.614 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/9.561, allocations: 0.849 MB / 3.614 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/9.561, allocations: 28.78 kB / 3.614 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/9.562, allocations: 0.5932 MB / 3.615 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/9.562, allocations: 266.1 kB / 3.615 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/9.562, allocations: 0 / 3.615 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001009/9.563, allocations: 349.3 kB / 3.616 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006643/9.563, allocations: 407.8 kB / 3.616 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008307/9.564, allocations: 0.7136 MB / 3.617 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/9.565, allocations: 469.7 kB / 3.617 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/9.565, allocations: 0 / 3.617 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001972/9.567, allocations: 1.16 MB / 3.618 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/9.567, allocations: 15.36 kB / 3.618 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/9.567, allocations: 6.875 kB / 3.618 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/9.567, allocations: 18.69 kB / 3.618 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/9.568, allocations: 309 kB / 3.619 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/9.568, allocations: 15.97 kB / 3.619 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/9.57, allocations: 187.7 kB / 3.619 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/9.57, allocations: 65.64 kB / 3.619 GB, free: 131.4 MB / 0.7136 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.0002577/9.57, allocations: 134.5 kB / 3.619 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001648/9.572, allocations: 1.029 MB / 3.62 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/9.572, allocations: 119.2 kB / 3.62 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/9.574, allocations: 1.178 MB / 3.621 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/9.574, allocations: 9.906 kB / 3.621 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/9.574, allocations: 3.844 kB / 3.621 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/9.574, allocations: 3.422 kB / 3.621 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/9.58, allocations: 2.604 MB / 3.624 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/9.58, allocations: 5.719 kB / 3.624 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/9.581, allocations: 257 kB / 3.624 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/9.581, allocations: 7.844 kB / 3.624 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.271e-05/9.581, allocations: 24.66 kB / 3.624 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/9.581, allocations: 12.22 kB / 3.624 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/9.581, allocations: 6.688 kB / 3.624 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/9.584, allocations: 2.12 MB / 3.626 GB, free: 130 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007646/9.585, allocations: 337 kB / 3.627 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/9.585, allocations: 12.56 kB / 3.627 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/9.586, allocations: 128.3 kB / 3.627 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/9.587, allocations: 64.33 kB / 3.627 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/9.587, allocations: 45.78 kB / 3.627 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008959/9.588, allocations: 0.6447 MB / 3.627 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/9.588, allocations: 0 / 3.627 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001702/9.589, allocations: 457.4 kB / 3.628 GB, free: 129.7 MB / 0.7136 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.006926/9.596, allocations: 5.813 MB / 3.634 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001774/9.598, allocations: 0.9993 MB / 3.634 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/9.598, allocations: 0 / 3.634 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007015/9.599, allocations: 0.5221 MB / 3.635 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/9.601, allocations: 431.6 kB / 3.635 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/9.606, allocations: 2.238 MB / 3.638 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/9.606, allocations: 1.215 MB / 3.639 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001528/9.608, allocations: 349.9 kB / 3.639 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007492/9.609, allocations: 0.5126 MB / 3.64 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/9.609, allocations: 0 / 3.64 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0798/9.689, allocations: 41.21 MB / 3.68 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/9.689, allocations: 192.4 kB / 3.68 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.582/13.27, allocations: 3.594 kB / 3.68 GB, free: 124.6 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)