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.001875/0.001875, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002114/0.002114, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 286.3 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 96.61 kB / 0.6057 GB, free: 25.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1965, allocations: 89.16 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5576/0.7541, allocations: 191.5 MB / 0.8798 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009577/0.7638, allocations: 5.189 MB / 0.8849 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.765, allocations: 44.91 kB / 0.885 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.7669, allocations: 0.7157 MB / 0.8857 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006637/0.7736, allocations: 2.451 MB / 0.888 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.7764, allocations: 1 MB / 0.889 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00457/0.781, allocations: 3.537 MB / 0.8925 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.7824, allocations: 0.817 MB / 0.8933 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.7844, allocations: 0.992 MB / 0.8942 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.7858, allocations: 1.008 MB / 0.8952 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.7859, allocations: 52 kB / 0.8953 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.7899, allocations: 2.065 MB / 0.8973 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004891/0.7904, allocations: 418.6 kB / 0.8977 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007572/0.7912, allocations: 0.6252 MB / 0.8983 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003432/0.7946, allocations: 2.22 MB / 0.9005 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7946, allocations: 4 kB / 0.9005 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7946, allocations: 0 / 0.9005 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.7947, allocations: 0 / 0.9005 GB, free: 7.445 MB / 0.6231 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.005263/0.7999, allocations: 1.936 MB / 0.9024 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8, allocations: 12.03 kB / 0.9024 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.8046, allocations: 0.7052 MB / 0.9031 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.8061, allocations: 0.8903 MB / 0.9039 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.8061, allocations: 66 kB / 0.904 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.8063, allocations: 88 kB / 0.9041 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/0.8097, allocations: 1.469 MB / 0.9055 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.8098, allocations: 3.938 kB / 0.9055 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.8099, allocations: 32 kB / 0.9056 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-05/0.8099, allocations: 49.98 kB / 0.9056 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.8144, allocations: 1.557 MB / 0.9071 GB, free: 484 kB / 0.6231 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.007318/0.8218, allocations: 5.018 MB / 0.912 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.8255, allocations: 1.187 MB / 0.9132 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.8274, allocations: 0.667 MB / 0.9138 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.8289, allocations: 0.9332 MB / 0.9147 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.831, allocations: 0.7395 MB / 0.9155 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.831, allocations: 0 / 0.9155 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.006471/0.8375, allocations: 1.952 MB / 0.9174 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.8375, allocations: 60.06 kB / 0.9174 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.8392, allocations: 1.275 MB / 0.9187 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.8394, allocations: 45.7 kB / 0.9187 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/0.8399, allocations: 0.5677 MB / 0.9193 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.8402, allocations: 284 kB / 0.9195 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.8405, allocations: 182.5 kB / 0.9197 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.8407, allocations: 345.9 kB / 0.92 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.8424, allocations: 0.5445 MB / 0.9206 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.8444, allocations: 0.8246 MB / 0.9214 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.8482, allocations: 1.34 MB / 0.9227 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.8482, allocations: 4 kB / 0.9227 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004587/0.8528, allocations: 1.515 MB / 0.9242 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.8529, allocations: 11.94 kB / 0.9242 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.8529, allocations: 8.031 kB / 0.9242 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.853, allocations: 12 kB / 0.9242 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.8545, allocations: 291.5 kB / 0.9245 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.8545, allocations: 15.98 kB / 0.9245 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.8562, allocations: 219.5 kB / 0.9247 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.8563, allocations: 55.91 kB / 0.9248 GB, free: 13.69 MB / 0.6544 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.0006946/0.857, allocations: 339.6 kB / 0.9251 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.8573, allocations: 146.3 kB / 0.9252 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.8615, allocations: 1.442 MB / 0.9266 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.8615, allocations: 8 kB / 0.9266 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.8615, allocations: 0 / 0.9266 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.8615, allocations: 7.984 kB / 0.9266 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006427/0.868, allocations: 2.861 MB / 0.9294 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.868, allocations: 4 kB / 0.9294 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.8693, allocations: 228.1 kB / 0.9297 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.8694, allocations: 8 kB / 0.9297 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/0.8695, allocations: 31.97 kB / 0.9297 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.8695, allocations: 8 kB / 0.9297 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/0.8695, allocations: 7.938 kB / 0.9297 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006106/0.8756, allocations: 2.311 MB / 0.932 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006285/0.8762, allocations: 303.2 kB / 0.9323 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.8764, allocations: 20 kB / 0.9323 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.8777, allocations: 127.8 kB / 0.9324 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.8778, allocations: 64.38 kB / 0.9325 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.8779, allocations: 35.97 kB / 0.9325 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001232/0.8792, allocations: 0.8801 MB / 0.9334 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8792, allocations: 0 / 0.9334 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001062/0.8802, allocations: 315.6 kB / 0.9337 GB, free: 4.367 MB / 0.6544 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.001862/0.8821, allocations: 0.5245 MB / 0.9342 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003912/0.886, allocations: 1.312 MB / 0.9355 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8861, allocations: 0 / 0.9355 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.888, allocations: 0.6521 MB / 0.9361 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.8908, allocations: 0.602 MB / 0.9367 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.8962, allocations: 2.982 MB / 0.9396 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008234/0.897, allocations: 1.171 MB / 0.9407 GB, free: 13.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001535/0.8985, allocations: 354.2 kB / 0.9411 GB, free: 12.83 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.899, allocations: 111.4 kB / 0.9412 GB, free: 12.72 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.899, allocations: 0 / 0.9412 GB, free: 12.72 MB / 0.67 GB Notification: Performance of Templates: time 0.04257/0.9416, allocations: 22.14 MB / 0.9628 GB, free: 6.914 MB / 0.6856 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)