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.8303/0.8303, allocations: 143.3 MB / 158.3 MB, free: 5.758 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.00146/0.00146, allocations: 181 kB / 191.5 MB, free: 5.75 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.553/1.553, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001048/0.001048, allocations: 88.27 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 275.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004657, allocations: 14.5 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.359/5.567, allocations: 1.834 GB / 2.608 GB, free: 189.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/5.568, allocations: 90.05 kB / 2.608 GB, free: 189.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.75/9.318, allocations: 1.02 GB / 3.628 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/9.318, allocations: 0 / 3.628 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001056/9.318, allocations: 39.98 kB / 3.629 GB, free: 1.648 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.5562/9.874, allocations: 2.048 MB / 3.631 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/9.874, allocations: 8.656 kB / 3.631 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000734/9.875, allocations: 138.9 kB / 3.631 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/9.88, allocations: 0.6987 MB / 3.631 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/9.884, allocations: 1.081 MB / 3.632 GB, free: 124 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.411e-05/9.884, allocations: 71.19 kB / 3.632 GB, free: 124 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/9.884, allocations: 89.59 kB / 3.633 GB, free: 124 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/9.887, allocations: 1.442 MB / 3.634 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/9.887, allocations: 2.531 kB / 3.634 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/9.887, allocations: 37.77 kB / 3.634 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/9.888, allocations: 47.75 kB / 3.634 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/9.891, allocations: 1.406 MB / 3.635 GB, free: 123.8 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.01027/9.902, allocations: 5.324 MB / 3.641 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/9.906, allocations: 1.303 MB / 3.642 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/9.908, allocations: 0.9431 MB / 3.643 GB, free: 120.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002659/9.91, allocations: 0.8076 MB / 3.644 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.278e-06/9.91, allocations: 0 / 3.644 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.007603/9.918, allocations: 2.128 MB / 3.646 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/9.918, allocations: 59.5 kB / 3.646 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/9.92, allocations: 1.129 MB / 3.647 GB, free: 120 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/9.921, allocations: 46.64 kB / 3.647 GB, free: 119.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/9.921, allocations: 0.5906 MB / 3.647 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/9.922, allocations: 279.8 kB / 3.648 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/9.922, allocations: 19.41 kB / 3.648 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/9.922, allocations: 341.1 kB / 3.648 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/9.924, allocations: 0.6139 MB / 3.649 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/9.926, allocations: 0.9311 MB / 3.65 GB, free: 119 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/9.928, allocations: 0.6575 MB / 3.65 GB, free: 119 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/9.928, allocations: 2.438 kB / 3.65 GB, free: 119 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004876/9.933, allocations: 1.644 MB / 3.652 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/9.933, allocations: 12.27 kB / 3.652 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/9.933, allocations: 7.281 kB / 3.652 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/9.933, allocations: 15.53 kB / 3.652 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/9.934, allocations: 313.9 kB / 3.652 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/9.935, allocations: 13.25 kB / 3.652 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/9.937, allocations: 239.4 kB / 3.652 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/9.937, allocations: 58.16 kB / 3.652 GB, free: 118.8 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 () * 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.001028/9.938, allocations: 341.5 kB / 3.653 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/9.939, allocations: 144 kB / 3.653 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/9.943, allocations: 1.632 MB / 3.655 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/9.943, allocations: 13.06 kB / 3.655 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/9.943, allocations: 0 / 3.655 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/9.943, allocations: 5.531 kB / 3.655 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/9.951, allocations: 3.144 MB / 3.658 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/9.951, allocations: 3.594 kB / 3.658 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/9.952, allocations: 254.5 kB / 3.658 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/9.952, allocations: 8.062 kB / 3.658 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/9.952, allocations: 39.8 kB / 3.658 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/9.952, allocations: 6.875 kB / 3.658 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/9.952, allocations: 14.75 kB / 3.658 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/9.958, allocations: 2.788 MB / 3.661 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/9.959, allocations: 357 kB / 3.661 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/9.96, allocations: 23.05 kB / 3.661 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/9.961, allocations: 138.7 kB / 3.661 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/9.961, allocations: 69.23 kB / 3.661 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-05/9.961, allocations: 42.36 kB / 3.661 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001288/9.962, allocations: 0.8788 MB / 3.662 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/9.962, allocations: 0 / 3.662 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002374/9.965, allocations: 0.502 MB / 3.663 GB, free: 117.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.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) * Number of clocked states: 0 () * 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.01008/9.975, allocations: 6.337 MB / 3.669 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003911/9.979, allocations: 1.435 MB / 3.67 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/9.979, allocations: 6.375 kB / 3.67 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/9.981, allocations: 0.7303 MB / 3.671 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/9.984, allocations: 0.5962 MB / 3.671 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/10, allocations: 13.5 MB / 3.685 GB, free: 107 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/10.01, allocations: 1.21 MB / 3.686 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002165/10.01, allocations: 386.7 kB / 3.686 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/10.01, allocations: 0.5094 MB / 3.687 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/10.01, allocations: 2.844 kB / 3.687 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/10.12, allocations: 60.73 MB / 3.746 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/10.12, allocations: 244.2 kB / 3.746 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/14.39, allocations: 0 / 3.746 GB, free: 104.2 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)