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.7033/0.7033, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 188.5 kB / 187.3 MB, free: 11.88 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.207/1.207, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008737/0.0008738, allocations: 105 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001641/0.00164, allocations: 276.4 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.993e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3447, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.442/3.786, allocations: 1.834 GB / 2.599 GB, free: 171.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/3.787, allocations: 87.17 kB / 2.599 GB, free: 171.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.17/6.957, allocations: 1.019 GB / 3.618 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.382e-06/6.957, allocations: 0 / 3.618 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001077/6.957, allocations: 43.42 kB / 3.618 GB, free: 128.1 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.005544/6.963, allocations: 1.844 MB / 3.62 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/6.963, allocations: 9.781 kB / 3.62 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/6.963, allocations: 137.7 kB / 3.62 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/6.967, allocations: 0.6943 MB / 3.621 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/6.97, allocations: 1.078 MB / 3.622 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/6.97, allocations: 65.59 kB / 3.622 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/6.97, allocations: 88.31 kB / 3.622 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/6.972, allocations: 1.249 MB / 3.623 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/6.972, allocations: 3.844 kB / 3.623 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/6.972, allocations: 35.66 kB / 3.623 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/6.972, allocations: 39.14 kB / 3.623 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/6.973, allocations: 1.02 MB / 3.624 GB, free: 126.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.005741/6.979, allocations: 5.326 MB / 3.629 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/6.98, allocations: 0.9178 MB / 3.63 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/6.981, allocations: 0.4888 MB / 3.631 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009476/6.982, allocations: 0.9406 MB / 3.632 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007594/6.983, allocations: 0.6104 MB / 3.632 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/6.983, allocations: 3.188 kB / 3.632 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.00207/6.985, allocations: 1.15 MB / 3.634 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/6.985, allocations: 59.97 kB / 3.634 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/6.986, allocations: 1.126 MB / 3.635 GB, free: 123.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/6.986, allocations: 40.83 kB / 3.635 GB, free: 123 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/6.986, allocations: 0.5856 MB / 3.635 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/6.987, allocations: 281.3 kB / 3.636 GB, free: 122.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/6.987, allocations: 15.75 kB / 3.636 GB, free: 122.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/6.987, allocations: 352.4 kB / 3.636 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/6.987, allocations: 421.9 kB / 3.636 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/6.988, allocations: 0.7461 MB / 3.637 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/6.989, allocations: 471.4 kB / 3.637 GB, free: 122 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/6.989, allocations: 3.812 kB / 3.637 GB, free: 122 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001647/6.99, allocations: 1.25 MB / 3.639 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/6.99, allocations: 7.656 kB / 3.639 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/6.99, allocations: 7.219 kB / 3.639 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/6.99, allocations: 16.84 kB / 3.639 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/6.992, allocations: 310.9 kB / 3.639 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/6.992, allocations: 12.47 kB / 3.639 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/6.993, allocations: 243.1 kB / 3.639 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/6.993, allocations: 58.17 kB / 3.639 GB, free: 121.9 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.0002132/6.993, allocations: 174.6 kB / 3.639 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/6.994, allocations: 141.7 kB / 3.64 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/6.995, allocations: 1.249 MB / 3.641 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/6.995, allocations: 9.969 kB / 3.641 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/6.995, allocations: 0 / 3.641 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/6.995, allocations: 6.531 kB / 3.641 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/6.999, allocations: 2.768 MB / 3.644 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/6.999, allocations: 6.781 kB / 3.644 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/7, allocations: 256.9 kB / 3.644 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/7, allocations: 7.438 kB / 3.644 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/7, allocations: 31.73 kB / 3.644 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.351e-06/7, allocations: 13.88 kB / 3.644 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7, allocations: 3.594 kB / 3.644 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/7.003, allocations: 2.209 MB / 3.646 GB, free: 120.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/7.003, allocations: 356.7 kB / 3.646 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/7.003, allocations: 27.28 kB / 3.646 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/7.005, allocations: 136.8 kB / 3.647 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/7.005, allocations: 66.19 kB / 3.647 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/7.005, allocations: 43.33 kB / 3.647 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008391/7.006, allocations: 0.8626 MB / 3.647 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/7.006, allocations: 1.875 kB / 3.647 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001351/7.007, allocations: 0.4985 MB / 3.648 GB, free: 120.2 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.005096/7.012, allocations: 5.714 MB / 3.654 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001507/7.014, allocations: 1.052 MB / 3.655 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/7.014, allocations: 0 / 3.655 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007002/7.014, allocations: 0.5418 MB / 3.655 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/7.017, allocations: 0.599 MB / 3.656 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/7.021, allocations: 2.341 MB / 3.658 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/7.021, allocations: 1.212 MB / 3.659 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001465/7.023, allocations: 391.9 kB / 3.66 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007091/7.023, allocations: 0.5195 MB / 3.66 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/7.023, allocations: 0 / 3.66 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08049/7.104, allocations: 65.08 MB / 3.724 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001298/7.104, allocations: 212.1 kB / 3.724 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/10.82, allocations: 0 / 3.724 GB, free: 100.1 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)