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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001097, allocations: 187.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 290.6 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.121/1.121, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 95.75 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1639, allocations: 86.99 MB / 0.6796 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5347/0.6986, allocations: 191.3 MB / 0.8664 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009584/0.7082, allocations: 5.121 MB / 0.8714 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.7103, allocations: 44.94 kB / 0.8715 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.7125, allocations: 0.7353 MB / 0.8722 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007847/0.7204, allocations: 2.44 MB / 0.8746 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.7231, allocations: 1.01 MB / 0.8756 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004099/0.7272, allocations: 2.699 MB / 0.8782 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.7286, allocations: 0.9499 MB / 0.8791 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.7305, allocations: 1.136 MB / 0.8802 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.7316, allocations: 1.056 MB / 0.8813 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.7318, allocations: 87.19 kB / 0.8813 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.7348, allocations: 1.851 MB / 0.8832 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.7352, allocations: 460.3 kB / 0.8836 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.7358, allocations: 0.663 MB / 0.8842 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.739, allocations: 2.321 MB / 0.8865 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.739, allocations: 2.562 kB / 0.8865 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7391, allocations: 0 / 0.8865 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.7391, allocations: 3.938 kB / 0.8865 GB, free: 2.105 MB / 0.5919 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.004797/0.7439, allocations: 1.954 MB / 0.8884 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7439, allocations: 10.25 kB / 0.8884 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/0.7494, allocations: 0.8991 MB / 0.8893 GB, free: 244 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.7509, allocations: 0.9016 MB / 0.8902 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.7509, allocations: 75.97 kB / 0.8903 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.7511, allocations: 88.22 kB / 0.8903 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003719/0.7549, allocations: 1.59 MB / 0.8919 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.7549, allocations: 7.938 kB / 0.8919 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.755, allocations: 36 kB / 0.8919 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.7551, allocations: 49.92 kB / 0.892 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/0.7603, allocations: 1.846 MB / 0.8938 GB, free: 12.49 MB / 0.6075 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.00785/0.7681, allocations: 4.734 MB / 0.8984 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.7725, allocations: 1.566 MB / 0.8999 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.7748, allocations: 0.8407 MB / 0.9008 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/0.7761, allocations: 0.9491 MB / 0.9017 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002485/0.7786, allocations: 0.9186 MB / 0.9026 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 4.148e-06/0.7787, allocations: 0 / 0.9026 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007716/0.7864, allocations: 2.454 MB / 0.905 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.7865, allocations: 60.41 kB / 0.905 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.7882, allocations: 1.193 MB / 0.9062 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.7883, allocations: 45.7 kB / 0.9063 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.7888, allocations: 0.5487 MB / 0.9068 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.7891, allocations: 331.3 kB / 0.9071 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.7895, allocations: 186.5 kB / 0.9073 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7896, allocations: 341.9 kB / 0.9076 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.7917, allocations: 0.6967 MB / 0.9083 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.7939, allocations: 0.9074 MB / 0.9092 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.798, allocations: 1.558 MB / 0.9107 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.7981, allocations: 0 / 0.9107 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004979/0.803, allocations: 1.776 MB / 0.9124 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.8031, allocations: 16.05 kB / 0.9124 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.8031, allocations: 7.938 kB / 0.9125 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.8031, allocations: 8 kB / 0.9125 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.8049, allocations: 339.5 kB / 0.9128 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.805, allocations: 8 kB / 0.9128 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.8068, allocations: 250.7 kB / 0.913 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.8069, allocations: 47.97 kB / 0.9131 GB, free: 8.105 MB / 0.6231 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006222/0.8076, allocations: 349 kB / 0.9134 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.8079, allocations: 134.3 kB / 0.9135 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005136/0.813, allocations: 1.802 MB / 0.9153 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.8131, allocations: 8 kB / 0.9153 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8131, allocations: 0 / 0.9153 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8131, allocations: 3.984 kB / 0.9153 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007254/0.8203, allocations: 3.339 MB / 0.9186 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.8204, allocations: 4 kB / 0.9186 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.8221, allocations: 300 kB / 0.9189 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.8221, allocations: 4.094 kB / 0.9189 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.8222, allocations: 39.91 kB / 0.9189 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.8222, allocations: 4 kB / 0.9189 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.8222, allocations: 11.94 kB / 0.9189 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00728/0.8295, allocations: 2.847 MB / 0.9217 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007648/0.8303, allocations: 315.2 kB / 0.922 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/0.8307, allocations: 27.98 kB / 0.922 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.8323, allocations: 171.7 kB / 0.9222 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.8324, allocations: 72.45 kB / 0.9223 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.8325, allocations: 37.47 kB / 0.9223 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001148/0.8337, allocations: 0.8353 MB / 0.9231 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8337, allocations: 0 / 0.9231 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001224/0.8349, allocations: 343.6 kB / 0.9234 GB, free: 13.29 MB / 0.6387 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.8363, allocations: 0.5515 MB / 0.924 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005217/0.8415, allocations: 1.779 MB / 0.9257 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.8415, allocations: 0 / 0.9257 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.8438, allocations: 0.84 MB / 0.9265 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.8467, allocations: 0.6134 MB / 0.9271 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.8532, allocations: 3.397 MB / 0.9304 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.8541, allocations: 1.193 MB / 0.9316 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001802/0.8559, allocations: 358 kB / 0.932 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.8564, allocations: 119.4 kB / 0.9321 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.8564, allocations: 0 / 0.9321 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.0409/0.8973, allocations: 23.55 MB / 0.9551 GB, free: 13.31 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)