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/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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002052/0.002052, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 283.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9488/0.9488, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 94.62 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1762, allocations: 86.98 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5705/0.7468, allocations: 191.5 MB / 0.8665 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008575/0.7554, allocations: 5.187 MB / 0.8716 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.7577, allocations: 42.97 kB / 0.8716 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.7608, allocations: 0.7151 MB / 0.8723 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008417/0.7693, allocations: 2.444 MB / 0.8747 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.7726, allocations: 1.004 MB / 0.8757 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005219/0.7778, allocations: 3.54 MB / 0.8791 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.7798, allocations: 0.8144 MB / 0.8799 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.7822, allocations: 1.006 MB / 0.8809 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.7837, allocations: 0.9886 MB / 0.8819 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.7838, allocations: 52.81 kB / 0.8819 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.7879, allocations: 2.069 MB / 0.8839 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.7884, allocations: 420.4 kB / 0.8843 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.7892, allocations: 0.6265 MB / 0.8849 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.7931, allocations: 2.229 MB / 0.8871 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7931, allocations: 0 / 0.8871 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.537e-06/0.7931, allocations: 0 / 0.8871 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.819e-05/0.7931, allocations: 3.938 kB / 0.8871 GB, free: 1.574 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005352/0.7985, allocations: 1.936 MB / 0.889 GB, free: 136 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7986, allocations: 7.688 kB / 0.889 GB, free: 136 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/0.8032, allocations: 0.7048 MB / 0.8897 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.8049, allocations: 0.8885 MB / 0.8906 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.805, allocations: 69.27 kB / 0.8906 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.8052, allocations: 83.5 kB / 0.8907 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.8085, allocations: 1.46 MB / 0.8922 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.8086, allocations: 7.938 kB / 0.8922 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.8087, allocations: 39.98 kB / 0.8922 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.8088, allocations: 45.98 kB / 0.8922 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.813, allocations: 1.553 MB / 0.8938 GB, free: 12.4 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.007336/0.8204, allocations: 5.038 MB / 0.8987 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.8237, allocations: 1.186 MB / 0.8998 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.8253, allocations: 0.6629 MB / 0.9005 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.8269, allocations: 0.9449 MB / 0.9014 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/0.8288, allocations: 0.7186 MB / 0.9021 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.517e-06/0.8288, allocations: 0 / 0.9021 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.006235/0.8351, allocations: 1.96 MB / 0.904 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.8352, allocations: 68 kB / 0.9041 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.8373, allocations: 1.259 MB / 0.9053 GB, free: 72 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.8374, allocations: 41.7 kB / 0.9054 GB, free: 24 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.8381, allocations: 0.5794 MB / 0.9059 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.8384, allocations: 276 kB / 0.9062 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.8387, allocations: 182.5 kB / 0.9064 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.8389, allocations: 349.9 kB / 0.9067 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.8406, allocations: 0.5484 MB / 0.9072 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.8425, allocations: 0.8208 MB / 0.908 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.846, allocations: 1.34 MB / 0.9093 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.846, allocations: 0 / 0.9093 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00421/0.8502, allocations: 1.518 MB / 0.9108 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.8503, allocations: 8 kB / 0.9108 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8503, allocations: 8 kB / 0.9108 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.8503, allocations: 12 kB / 0.9108 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.8518, allocations: 304 kB / 0.9111 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.8518, allocations: 8 kB / 0.9111 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.8533, allocations: 218.7 kB / 0.9114 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.8535, allocations: 47.97 kB / 0.9114 GB, free: 9.605 MB / 0.6231 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 ($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 (117): * Single equations (assignments): 117 * 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.0006421/0.8541, allocations: 344.3 kB / 0.9117 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.8544, allocations: 134.3 kB / 0.9119 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.8584, allocations: 1.442 MB / 0.9133 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.8584, allocations: 8 kB / 0.9133 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.8584, allocations: 3.984 kB / 0.9133 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.8584, allocations: 7.969 kB / 0.9133 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006219/0.8647, allocations: 2.869 MB / 0.9161 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.8647, allocations: 4 kB / 0.9161 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.866, allocations: 224 kB / 0.9163 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.8661, allocations: 4 kB / 0.9163 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.8662, allocations: 32.84 kB / 0.9163 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.8662, allocations: 11.98 kB / 0.9163 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.8662, allocations: 7.938 kB / 0.9164 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.8719, allocations: 2.307 MB / 0.9186 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/0.8727, allocations: 307.2 kB / 0.9189 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.8729, allocations: 23.98 kB / 0.9189 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.8741, allocations: 127.8 kB / 0.919 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.8743, allocations: 64.36 kB / 0.9191 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.961e-05/0.8744, allocations: 43.91 kB / 0.9191 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00113/0.8755, allocations: 0.8723 MB / 0.92 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8755, allocations: 0 / 0.92 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00121/0.8768, allocations: 315.7 kB / 0.9203 GB, free: 284 kB / 0.6231 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 (82): * Single equations (assignments): 76 * 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.001312/0.8781, allocations: 0.5341 MB / 0.9208 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003748/0.8818, allocations: 1.296 MB / 0.9221 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8819, allocations: 3.938 kB / 0.9221 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.8837, allocations: 0.6677 MB / 0.9227 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/0.8867, allocations: 0.5911 MB / 0.9233 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.892, allocations: 2.977 MB / 0.9262 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.8928, allocations: 1.179 MB / 0.9274 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001612/0.8944, allocations: 354.2 kB / 0.9277 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.8948, allocations: 111.4 kB / 0.9278 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of SimCode: time 1.533e-06/0.8948, allocations: 0 / 0.9278 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of Templates: time 0.03914/0.934, allocations: 22.13 MB / 0.9494 GB, free: 2.82 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)