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.001107/0.001107, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001118/0.001118, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002286, allocations: 293.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.951/0.951, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 91.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3584, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02736/0.3858, allocations: 29.32 MB / 0.7957 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009173/0.395, allocations: 6.881 MB / 0.8024 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.3957, allocations: 47.69 kB / 0.8025 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.397, allocations: 0.6914 MB / 0.8032 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002565/0.3996, allocations: 1.458 MB / 0.8046 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.4018, allocations: 1.152 MB / 0.8057 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.4042, allocations: 2.477 MB / 0.8081 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.4051, allocations: 0.798 MB / 0.8089 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.4065, allocations: 1.039 MB / 0.8099 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009213/0.4074, allocations: 0.813 MB / 0.8107 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4076, allocations: 64 kB / 0.8108 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.4089, allocations: 0.8265 MB / 0.8116 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.4092, allocations: 271 kB / 0.8118 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.4096, allocations: 0.5515 MB / 0.8124 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.4113, allocations: 1.634 MB / 0.814 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.4114, allocations: 0 / 0.814 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4114, allocations: 4 kB / 0.814 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4114, allocations: 0 / 0.814 GB, free: 3.727 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.00239/0.4138, allocations: 1.57 MB / 0.8155 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4138, allocations: 8.031 kB / 0.8155 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.4174, allocations: 0.5884 MB / 0.8161 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4187, allocations: 0.8719 MB / 0.8169 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.4188, allocations: 54.36 kB / 0.817 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.4189, allocations: 79.94 kB / 0.8171 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.4214, allocations: 1.103 MB / 0.8182 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4214, allocations: 0 / 0.8182 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.4215, allocations: 28 kB / 0.8182 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.4215, allocations: 20 kB / 0.8182 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/0.4246, allocations: 1.008 MB / 0.8192 GB, free: 14.2 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.005148/0.4298, allocations: 4.939 MB / 0.824 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.4327, allocations: 0.9035 MB / 0.8249 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.4343, allocations: 485.2 kB / 0.8254 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.4355, allocations: 1.588 MB / 0.8269 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.4373, allocations: 0.5767 MB / 0.8275 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.595e-06/0.4373, allocations: 4 kB / 0.8275 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.004821/0.4421, allocations: 1.489 MB / 0.8289 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.4422, allocations: 55.97 kB / 0.829 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4433, allocations: 1.116 MB / 0.8301 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.4434, allocations: 45.7 kB / 0.8301 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.4438, allocations: 0.5395 MB / 0.8306 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.444, allocations: 217 kB / 0.8308 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.4443, allocations: 158.5 kB / 0.831 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4444, allocations: 338 kB / 0.8313 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.4459, allocations: 449.6 kB / 0.8317 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.4476, allocations: 0.7134 MB / 0.8324 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/0.4506, allocations: 1.12 MB / 0.8335 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4506, allocations: 4 kB / 0.8335 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003504/0.4542, allocations: 1.278 MB / 0.8348 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4542, allocations: 8 kB / 0.8348 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4542, allocations: 8.094 kB / 0.8348 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4542, allocations: 16.75 kB / 0.8348 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.4555, allocations: 271.6 kB / 0.8351 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.4555, allocations: 19.92 kB / 0.8351 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.4566, allocations: 183 kB / 0.8353 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.4567, allocations: 47.92 kB / 0.8353 GB, free: 12.74 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.0004199/0.4572, allocations: 294.2 kB / 0.8356 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.4574, allocations: 122.4 kB / 0.8357 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.4612, allocations: 1.359 MB / 0.837 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4612, allocations: 3.984 kB / 0.837 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4612, allocations: 0 / 0.837 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.4616, allocations: 271.3 kB / 0.8373 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.4617, allocations: 27.98 kB / 0.8373 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.4627, allocations: 99.88 kB / 0.8374 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.725e-05/0.4628, allocations: 40.5 kB / 0.8375 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004195/0.467, allocations: 1.347 MB / 0.8388 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005132/0.4721, allocations: 2.031 MB / 0.8408 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001548/0.4737, allocations: 0.5432 MB / 0.8413 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000843/0.4745, allocations: 0.7638 MB / 0.842 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of Backend: time 2.7e-07/0.4745, allocations: 0 / 0.842 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003769/0.4783, allocations: 1.34 MB / 0.8433 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003573/0.4819, allocations: 2.558 MB / 0.8458 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of Templates: time 0.03237/0.5143, allocations: 21.81 MB / 0.8671 GB, free: 12.48 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)