Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",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.9197/0.9197, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.001166/0.001166, allocations: 184.6 kB / 182.2 MB, free: 9.426 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.654/1.654, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.00105/0.00105, allocations: 93.73 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 273.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.111e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4886, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.95/5.438, allocations: 1.834 GB / 2.591 GB, free: 225.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/5.439, allocations: 83.95 kB / 2.591 GB, free: 225.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.232/7.671, allocations: 0.6787 GB / 3.27 GB, free: 66.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/7.671, allocations: 4 kB / 3.27 GB, free: 66.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001174/7.671, allocations: 47.05 kB / 3.27 GB, free: 66.47 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006739/7.678, allocations: 1.869 MB / 3.272 GB, free: 64.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/7.678, allocations: 15.53 kB / 3.272 GB, free: 64.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/7.683, allocations: 0.8811 MB / 3.273 GB, free: 63.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/7.687, allocations: 1.167 MB / 3.274 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/7.687, allocations: 24 kB / 3.274 GB, free: 62.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/7.687, allocations: 56 kB / 3.274 GB, free: 62.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/7.689, allocations: 0.9996 MB / 3.275 GB, free: 61.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/7.691, allocations: 1.169 MB / 3.276 GB, free: 60.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/7.691, allocations: 3.984 kB / 3.276 GB, free: 60.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/7.691, allocations: 4 kB / 3.276 GB, free: 60.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/7.691, allocations: 37.98 kB / 3.276 GB, free: 60.16 MB / 0.698 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.007668/7.698, allocations: 4.842 MB / 3.281 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/7.7, allocations: 1.057 MB / 3.282 GB, free: 54.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/7.7, allocations: 0.5695 MB / 3.282 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/7.701, allocations: 0.946 MB / 3.283 GB, free: 52.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008637/7.702, allocations: 0.6759 MB / 3.284 GB, free: 51.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 3.426e-06/7.702, allocations: 0 / 3.284 GB, free: 51.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.00274/7.705, allocations: 1.291 MB / 3.285 GB, free: 50.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/7.705, allocations: 60.19 kB / 3.285 GB, free: 50.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/7.706, allocations: 0.8263 MB / 3.286 GB, free: 49.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/7.706, allocations: 33.7 kB / 3.286 GB, free: 49.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/7.707, allocations: 0.5591 MB / 3.287 GB, free: 48.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/7.707, allocations: 315.4 kB / 3.287 GB, free: 48.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/7.707, allocations: 0 / 3.287 GB, free: 48.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001108/7.707, allocations: 345.9 kB / 3.287 GB, free: 48.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/7.708, allocations: 478.4 kB / 3.288 GB, free: 47.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/7.709, allocations: 0.7216 MB / 3.288 GB, free: 46.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/7.709, allocations: 0.502 MB / 3.289 GB, free: 46.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/7.709, allocations: 0 / 3.289 GB, free: 46.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002328/7.712, allocations: 1.28 MB / 3.29 GB, free: 45.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/7.712, allocations: 4 kB / 3.29 GB, free: 45.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/7.712, allocations: 8.5 kB / 3.29 GB, free: 45.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/7.712, allocations: 12 kB / 3.29 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/7.714, allocations: 347.5 kB / 3.291 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/7.714, allocations: 12 kB / 3.291 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/7.716, allocations: 215.1 kB / 3.291 GB, free: 44.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/7.716, allocations: 55.95 kB / 3.291 GB, free: 44.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0002997/7.716, allocations: 146.9 kB / 3.291 GB, free: 44.37 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001846/7.718, allocations: 1.174 MB / 3.292 GB, free: 43.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/7.718, allocations: 118.6 kB / 3.292 GB, free: 43.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/7.721, allocations: 1.368 MB / 3.294 GB, free: 41.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/7.721, allocations: 8 kB / 3.294 GB, free: 41.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/7.721, allocations: 4 kB / 3.294 GB, free: 41.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/7.721, allocations: 7.984 kB / 3.294 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/7.725, allocations: 2.892 MB / 3.296 GB, free: 38.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/7.725, allocations: 4 kB / 3.296 GB, free: 38.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/7.727, allocations: 307.7 kB / 3.297 GB, free: 38.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/7.727, allocations: 12 kB / 3.297 GB, free: 38.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/7.727, allocations: 27.95 kB / 3.297 GB, free: 38.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/7.727, allocations: 11.94 kB / 3.297 GB, free: 38.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/7.727, allocations: 7.984 kB / 3.297 GB, free: 38.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/7.73, allocations: 2.4 MB / 3.299 GB, free: 35.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/7.73, allocations: 347.3 kB / 3.299 GB, free: 35.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/7.73, allocations: 12 kB / 3.299 GB, free: 35.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/7.732, allocations: 163.9 kB / 3.3 GB, free: 35.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/7.732, allocations: 76.58 kB / 3.3 GB, free: 35.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/7.732, allocations: 47.95 kB / 3.3 GB, free: 35.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007302/7.733, allocations: 0.6279 MB / 3.3 GB, free: 34.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/7.733, allocations: 0 / 3.3 GB, free: 34.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001528/7.734, allocations: 475.3 kB / 3.301 GB, free: 34.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * 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.00607/7.74, allocations: 6.092 MB / 3.307 GB, free: 27.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001806/7.742, allocations: 1.156 MB / 3.308 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/7.742, allocations: 0 / 3.308 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/7.743, allocations: 0.6158 MB / 3.308 GB, free: 26.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/7.746, allocations: 448.3 kB / 3.309 GB, free: 25.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/7.761, allocations: 3.292 MB / 3.312 GB, free: 22.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/7.761, allocations: 1.225 MB / 3.313 GB, free: 20.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001661/7.763, allocations: 376.3 kB / 3.314 GB, free: 20.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007643/7.764, allocations: 0.507 MB / 3.314 GB, free: 20.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.001e-06/7.764, allocations: 0 / 3.314 GB, free: 20.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.625/8.389, allocations: 42.55 MB / 3.356 GB, free: 121.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/8.389, allocations: 192 kB / 3.356 GB, free: 121.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.594/11.98, allocations: 3.625 kB / 3.356 GB, free: 121.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)