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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7674/0.7674, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009811/0.000981, allocations: 179.5 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009198/0.0009196, allocations: 98.33 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001691/0.001691, allocations: 252.7 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.0005358, allocations: 19.98 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.461, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.123/5.584, allocations: 2.288 GB / 3.027 GB, free: 260.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/5.585, allocations: 91.56 kB / 3.027 GB, free: 260.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.687/7.272, allocations: 0.5978 GB / 3.625 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.272e-06/7.272, allocations: 2.344 kB / 3.625 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001562/7.272, allocations: 39.55 kB / 3.625 GB, free: 138.7 MB / 0.6823 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.003468/7.275, allocations: 1.526 MB / 3.626 GB, free: 138 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/7.275, allocations: 13.69 kB / 3.626 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/7.278, allocations: 0.5814 MB / 3.627 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/7.281, allocations: 0.9705 MB / 3.628 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/7.281, allocations: 62.03 kB / 3.628 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/7.281, allocations: 84.52 kB / 3.628 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/7.283, allocations: 1.098 MB / 3.629 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/7.283, allocations: 7.188 kB / 3.629 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/7.284, allocations: 30.72 kB / 3.629 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/7.284, allocations: 18.25 kB / 3.629 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/7.286, allocations: 1.002 MB / 3.63 GB, free: 137.3 MB / 0.6823 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.00556/7.292, allocations: 4.98 MB / 3.635 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/7.294, allocations: 0.9503 MB / 3.636 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/7.295, allocations: 494.2 kB / 3.636 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/7.296, allocations: 1.597 MB / 3.638 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/7.298, allocations: 0.5777 MB / 3.639 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.829e-06/7.298, allocations: 3.609 kB / 3.639 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.004036/7.302, allocations: 1.51 MB / 3.64 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/7.302, allocations: 64.97 kB / 3.64 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/7.304, allocations: 1.124 MB / 3.641 GB, free: 132 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/7.304, allocations: 42.83 kB / 3.641 GB, free: 132 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/7.304, allocations: 0.5518 MB / 3.642 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/7.304, allocations: 208.1 kB / 3.642 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/7.304, allocations: 16.59 kB / 3.642 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/7.304, allocations: 334 kB / 3.642 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/7.306, allocations: 463.3 kB / 3.643 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/7.307, allocations: 0.7803 MB / 3.644 GB, free: 131 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/7.31, allocations: 1.133 MB / 3.645 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/7.31, allocations: 2.688 kB / 3.645 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003288/7.313, allocations: 1.283 MB / 3.646 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/7.313, allocations: 16.44 kB / 3.646 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/7.313, allocations: 7.531 kB / 3.646 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/7.313, allocations: 11.81 kB / 3.646 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/7.314, allocations: 281 kB / 3.646 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-05/7.314, allocations: 15.88 kB / 3.646 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/7.316, allocations: 213.6 kB / 3.646 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/7.316, allocations: 52.66 kB / 3.647 GB, free: 130.5 MB / 0.6823 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005903/7.316, allocations: 291.6 kB / 3.647 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/7.317, allocations: 126 kB / 3.647 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/7.32, allocations: 1.428 MB / 3.648 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/7.32, allocations: 7.062 kB / 3.648 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/7.32, allocations: 0 / 3.648 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/7.32, allocations: 11.2 kB / 3.648 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/7.325, allocations: 2.481 MB / 3.651 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/7.325, allocations: 3.938 kB / 3.651 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/7.326, allocations: 199.7 kB / 3.651 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/7.326, allocations: 6.047 kB / 3.651 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/7.326, allocations: 34.39 kB / 3.651 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/7.326, allocations: 9.188 kB / 3.651 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/7.326, allocations: 0 / 3.651 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/7.331, allocations: 2.041 MB / 3.653 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007118/7.332, allocations: 314.2 kB / 3.653 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/7.332, allocations: 19.06 kB / 3.653 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/7.333, allocations: 131.2 kB / 3.653 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/7.333, allocations: 57.22 kB / 3.653 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/7.333, allocations: 31.34 kB / 3.653 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001199/7.334, allocations: 0.7708 MB / 3.654 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/7.334, allocations: 3.25 kB / 3.654 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001454/7.336, allocations: 395.5 kB / 3.655 GB, free: 129.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001935/7.338, allocations: 0.823 MB / 3.655 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00296/7.341, allocations: 1.142 MB / 3.657 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/7.341, allocations: 0 / 3.657 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/7.342, allocations: 0.5949 MB / 3.657 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/7.345, allocations: 443.5 kB / 3.658 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/7.35, allocations: 2.766 MB / 3.66 GB, free: 128 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/7.351, allocations: 1.113 MB / 3.661 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001294/7.352, allocations: 261.5 kB / 3.662 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/7.353, allocations: 108.7 kB / 3.662 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/7.353, allocations: 0 / 3.662 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.03307/7.386, allocations: 21.74 MB / 3.683 GB, free: 124.9 MB / 0.6823 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)