Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001138/0.001138, allocations: 114.6 kB / 16.38 MB, free: 6.004 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.001162/0.001162, allocations: 186.4 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1941, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3294/0.5235, allocations: 29.36 MB / 0.8135 GB, free: 31.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008846/0.5324, allocations: 6.73 MB / 0.82 GB, free: 26.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.5338, allocations: 47.72 kB / 0.8201 GB, free: 26.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.5354, allocations: 0.6947 MB / 0.8208 GB, free: 26.36 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003918/0.5394, allocations: 1.418 MB / 0.8221 GB, free: 25.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.5424, allocations: 1.165 MB / 0.8233 GB, free: 25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003304/0.5457, allocations: 2.459 MB / 0.8257 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.5472, allocations: 0.7995 MB / 0.8265 GB, free: 23.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.5492, allocations: 1.038 MB / 0.8275 GB, free: 23.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.5507, allocations: 0.8095 MB / 0.8283 GB, free: 22.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.5509, allocations: 67.62 kB / 0.8283 GB, free: 22.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.553, allocations: 0.8204 MB / 0.8291 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.5533, allocations: 280.1 kB / 0.8294 GB, free: 22.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.5539, allocations: 0.5598 MB / 0.83 GB, free: 22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.5562, allocations: 1.643 MB / 0.8316 GB, free: 21.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5562, allocations: 0 / 0.8316 GB, free: 21.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5562, allocations: 0 / 0.8316 GB, free: 21.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.5562, allocations: 1.188 kB / 0.8316 GB, free: 21.37 MB / 0.6544 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.002484/0.5587, allocations: 1.583 MB / 0.8331 GB, free: 20.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5588, allocations: 11.69 kB / 0.8331 GB, free: 20.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.5625, allocations: 0.582 MB / 0.8337 GB, free: 20.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.5639, allocations: 0.8905 MB / 0.8346 GB, free: 19.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.564, allocations: 59.27 kB / 0.8346 GB, free: 19.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5641, allocations: 82.81 kB / 0.8347 GB, free: 19.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.5665, allocations: 1.1 MB / 0.8358 GB, free: 19.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.5666, allocations: 4.672 kB / 0.8358 GB, free: 19.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.5667, allocations: 32.67 kB / 0.8358 GB, free: 19.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.5667, allocations: 22.34 kB / 0.8358 GB, free: 19.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.5698, allocations: 0.9974 MB / 0.8368 GB, free: 18.8 MB / 0.6544 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.005064/0.5749, allocations: 4.945 MB / 0.8416 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.5779, allocations: 0.8981 MB / 0.8425 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.5794, allocations: 492.6 kB / 0.843 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.5804, allocations: 1.587 MB / 0.8445 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/0.5822, allocations: 0.5812 MB / 0.8451 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 3.908e-06/0.5822, allocations: 0 / 0.8451 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.005001/0.5872, allocations: 1.487 MB / 0.8465 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.5872, allocations: 56.97 kB / 0.8466 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.5886, allocations: 1.125 MB / 0.8477 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.5887, allocations: 43.42 kB / 0.8477 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.589, allocations: 0.5514 MB / 0.8483 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.5892, allocations: 206 kB / 0.8485 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.5895, allocations: 171 kB / 0.8486 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.5895, allocations: 335.7 kB / 0.8489 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.5911, allocations: 453.9 kB / 0.8494 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.5927, allocations: 0.7347 MB / 0.8501 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.5957, allocations: 1.128 MB / 0.8512 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.5957, allocations: 1.25 kB / 0.8512 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003606/0.5993, allocations: 1.272 MB / 0.8524 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5993, allocations: 11 kB / 0.8525 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5994, allocations: 8.375 kB / 0.8525 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.5994, allocations: 14.75 kB / 0.8525 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6006, allocations: 263.7 kB / 0.8527 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.6006, allocations: 16.83 kB / 0.8527 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.6019, allocations: 185.8 kB / 0.8529 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.602, allocations: 47.39 kB / 0.853 GB, free: 8.938 MB / 0.6544 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.0004712/0.6025, allocations: 292.8 kB / 0.8532 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.6027, allocations: 123.7 kB / 0.8534 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.6065, allocations: 1.369 MB / 0.8547 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6066, allocations: 5.359 kB / 0.8547 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6066, allocations: 0 / 0.8547 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.607, allocations: 275.8 kB / 0.855 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.6071, allocations: 16.09 kB / 0.855 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.608, allocations: 108.2 kB / 0.8551 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.6081, allocations: 45.47 kB / 0.8551 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003913/0.612, allocations: 1.335 MB / 0.8564 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004835/0.6169, allocations: 2.04 MB / 0.8584 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001466/0.6183, allocations: 0.5389 MB / 0.859 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001014/0.6194, allocations: 0.7697 MB / 0.8597 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of Backend: time 2.91e-07/0.6194, allocations: 0.7812 kB / 0.8597 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004561/0.6239, allocations: 1.354 MB / 0.861 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004063/0.628, allocations: 2.586 MB / 0.8636 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of Templates: time 0.03561/0.6637, allocations: 22.14 MB / 0.8852 GB, free: 3.184 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)