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.001313/0.001313, 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.001469/0.001469, allocations: 193.5 kB / 16.14 MB, free: 6.695 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 294.2 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 178.6 MB / 0.5068 GB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 102.2 kB / 0.6057 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1697, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5599/0.7296, allocations: 191.5 MB / 0.8798 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009411/0.7391, allocations: 5.197 MB / 0.8849 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.7404, allocations: 48.78 kB / 0.885 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.7424, allocations: 0.7117 MB / 0.8856 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006354/0.7487, allocations: 2.456 MB / 0.888 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.7518, allocations: 0.9965 MB / 0.889 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004847/0.7566, allocations: 3.607 MB / 0.8925 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.7581, allocations: 0.8612 MB / 0.8934 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.7603, allocations: 1.027 MB / 0.8944 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.7618, allocations: 1.02 MB / 0.8954 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.7619, allocations: 56 kB / 0.8954 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/0.7664, allocations: 2.073 MB / 0.8975 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006209/0.7671, allocations: 426.6 kB / 0.8979 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000887/0.768, allocations: 0.6408 MB / 0.8985 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.7718, allocations: 2.266 MB / 0.9007 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7718, allocations: 0 / 0.9007 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.657e-06/0.7718, allocations: 0 / 0.9007 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.7718, allocations: 3.938 kB / 0.9007 GB, free: 7.34 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005707/0.7775, allocations: 1.958 MB / 0.9026 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.7776, allocations: 8.031 kB / 0.9026 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/0.7836, allocations: 0.8994 MB / 0.9035 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.7854, allocations: 0.9059 MB / 0.9044 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-05/0.7855, allocations: 70 kB / 0.9045 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.7858, allocations: 95.89 kB / 0.9045 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.7899, allocations: 1.58 MB / 0.9061 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.7899, allocations: 0 / 0.9061 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.79, allocations: 35.98 kB / 0.9061 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.58e-05/0.7901, allocations: 49.98 kB / 0.9062 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/0.7957, allocations: 1.854 MB / 0.908 GB, free: 15.74 MB / 0.6387 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.008395/0.8041, allocations: 4.734 MB / 0.9126 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004751/0.8089, allocations: 1.552 MB / 0.9141 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.8114, allocations: 0.8586 MB / 0.915 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.8129, allocations: 0.9412 MB / 0.9159 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002625/0.8156, allocations: 0.9105 MB / 0.9168 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 4.739e-06/0.8156, allocations: 7.922 kB / 0.9168 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.008197/0.8238, allocations: 2.454 MB / 0.9192 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.8239, allocations: 68.34 kB / 0.9192 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.8256, allocations: 1.193 MB / 0.9204 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.8257, allocations: 53.69 kB / 0.9205 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.8262, allocations: 0.537 MB / 0.921 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.8266, allocations: 331.3 kB / 0.9213 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.827, allocations: 186.6 kB / 0.9215 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.8272, allocations: 349.9 kB / 0.9218 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.8294, allocations: 0.6927 MB / 0.9225 GB, free: 408 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/0.8319, allocations: 0.9035 MB / 0.9234 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004679/0.8366, allocations: 1.558 MB / 0.9249 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.8366, allocations: 4.5 kB / 0.9249 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005498/0.8421, allocations: 1.776 MB / 0.9266 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.8422, allocations: 4 kB / 0.9266 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8422, allocations: 4 kB / 0.9266 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.8422, allocations: 12 kB / 0.9266 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.8442, allocations: 349.4 kB / 0.927 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.8442, allocations: 13.42 kB / 0.927 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.8464, allocations: 262.6 kB / 0.9272 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.8466, allocations: 47.97 kB / 0.9273 GB, free: 11.35 MB / 0.6544 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.0009908/0.8476, allocations: 331.7 kB / 0.9276 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.848, allocations: 130.4 kB / 0.9277 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005834/0.8539, allocations: 1.8 MB / 0.9295 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.8539, allocations: 12 kB / 0.9295 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.8539, allocations: 3.938 kB / 0.9295 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.8539, allocations: 3.984 kB / 0.9295 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008121/0.8621, allocations: 3.328 MB / 0.9328 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.8621, allocations: 4 kB / 0.9328 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.8638, allocations: 295.9 kB / 0.933 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.8639, allocations: 8 kB / 0.9331 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.864, allocations: 35.91 kB / 0.9331 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/0.864, allocations: 8 kB / 0.9331 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.864, allocations: 8 kB / 0.9331 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007928/0.8719, allocations: 2.847 MB / 0.9359 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.8727, allocations: 323.2 kB / 0.9362 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.8729, allocations: 20 kB / 0.9362 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.8745, allocations: 175.7 kB / 0.9364 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.8747, allocations: 76.44 kB / 0.9364 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.8748, allocations: 43.91 kB / 0.9365 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001255/0.876, allocations: 0.8315 MB / 0.9373 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.876, allocations: 96 / 0.9373 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001175/0.8772, allocations: 343.5 kB / 0.9376 GB, free: 0.5391 MB / 0.6544 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.001926/0.8792, allocations: 0.5319 MB / 0.9381 GB, free: 176 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005138/0.8843, allocations: 1.626 MB / 0.9397 GB, free: 14.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.8843, allocations: 4 kB / 0.9397 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.8869, allocations: 0.8361 MB / 0.9406 GB, free: 13.71 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.8898, allocations: 0.584 MB / 0.9411 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/0.8966, allocations: 3.406 MB / 0.9445 GB, free: 9.645 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.8975, allocations: 1.183 MB / 0.9456 GB, free: 8.43 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001707/0.8992, allocations: 366 kB / 0.946 GB, free: 8.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.8997, allocations: 115.4 kB / 0.9461 GB, free: 7.957 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.8997, allocations: 0 / 0.9461 GB, free: 7.957 MB / 0.67 GB Notification: Performance of Templates: time 0.04296/0.9426, allocations: 22.74 MB / 0.9683 GB, free: 1.543 MB / 0.6856 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)