Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001038/0.001038, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 280.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3845, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0283/0.4128, allocations: 29.33 MB / 0.7957 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009947/0.4228, allocations: 6.874 MB / 0.8024 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.4239, allocations: 51.62 kB / 0.8025 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.4254, allocations: 0.6992 MB / 0.8032 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.4289, allocations: 1.512 MB / 0.8046 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.4315, allocations: 1.159 MB / 0.8058 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.4344, allocations: 2.481 MB / 0.8082 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.4356, allocations: 0.7978 MB / 0.809 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.4374, allocations: 1.043 MB / 0.81 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.4386, allocations: 0.8169 MB / 0.8108 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.4388, allocations: 68 kB / 0.8109 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.4405, allocations: 0.8188 MB / 0.8117 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.4408, allocations: 278.9 kB / 0.8119 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006171/0.4414, allocations: 0.5515 MB / 0.8125 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.4436, allocations: 1.634 MB / 0.8141 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.4436, allocations: 0 / 0.8141 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4436, allocations: 0 / 0.8141 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.4437, allocations: 0 / 0.8141 GB, free: 3.641 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002845/0.4465, allocations: 1.57 MB / 0.8156 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4466, allocations: 15.97 kB / 0.8156 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.4502, allocations: 0.5806 MB / 0.8162 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.4517, allocations: 0.8757 MB / 0.817 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.4518, allocations: 62.38 kB / 0.8171 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.4519, allocations: 75.94 kB / 0.8172 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.4544, allocations: 1.096 MB / 0.8182 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4545, allocations: 7.938 kB / 0.8182 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.4545, allocations: 28 kB / 0.8183 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4546, allocations: 20 kB / 0.8183 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.4577, allocations: 1 MB / 0.8193 GB, free: 14.11 MB / 0.5919 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.005565/0.4633, allocations: 4.939 MB / 0.8241 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.4663, allocations: 0.9035 MB / 0.825 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.4679, allocations: 486.2 kB / 0.8254 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/0.4693, allocations: 1.592 MB / 0.827 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.4711, allocations: 0.5767 MB / 0.8275 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 3.066e-06/0.4711, allocations: 0 / 0.8275 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.0048/0.4759, allocations: 1.485 MB / 0.829 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4759, allocations: 59.97 kB / 0.8291 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4772, allocations: 1.112 MB / 0.8301 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.887e-05/0.4773, allocations: 41.7 kB / 0.8302 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.4777, allocations: 0.5395 MB / 0.8307 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.4779, allocations: 217 kB / 0.8309 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.4781, allocations: 166.5 kB / 0.8311 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4782, allocations: 338 kB / 0.8314 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4798, allocations: 449.6 kB / 0.8318 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.4815, allocations: 0.7095 MB / 0.8325 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.4846, allocations: 1.12 MB / 0.8336 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4846, allocations: 0 / 0.8336 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003582/0.4882, allocations: 1.282 MB / 0.8349 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4882, allocations: 8 kB / 0.8349 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4882, allocations: 11.94 kB / 0.8349 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.4883, allocations: 12 kB / 0.8349 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4895, allocations: 271.5 kB / 0.8352 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.4895, allocations: 12 kB / 0.8352 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4907, allocations: 179 kB / 0.8353 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/0.4908, allocations: 47.97 kB / 0.8354 GB, free: 12.67 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004064/0.4912, allocations: 294.1 kB / 0.8357 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.4914, allocations: 122.4 kB / 0.8358 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.4953, allocations: 1.367 MB / 0.8371 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4953, allocations: 3.984 kB / 0.8371 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4953, allocations: 0 / 0.8371 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.4957, allocations: 271.4 kB / 0.8374 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.4959, allocations: 23.92 kB / 0.8374 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009401/0.4968, allocations: 107.9 kB / 0.8375 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.4969, allocations: 40.5 kB / 0.8375 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004171/0.5011, allocations: 1.351 MB / 0.8389 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005117/0.5062, allocations: 2.031 MB / 0.8408 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001541/0.5078, allocations: 0.5432 MB / 0.8414 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008949/0.5087, allocations: 0.7638 MB / 0.8421 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of Backend: time 4.91e-07/0.5087, allocations: 0 / 0.8421 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.5125, allocations: 1.344 MB / 0.8434 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003751/0.5163, allocations: 2.558 MB / 0.8459 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.03357/0.5499, allocations: 21.81 MB / 0.8672 GB, free: 12.39 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)