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 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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.8124/0.8124, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001125, allocations: 175.9 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 104.2 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 275.8 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.358e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5105, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.42/5.93, allocations: 2.119 GB / 2.883 GB, free: 209.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/5.931, allocations: 91.08 kB / 2.883 GB, free: 209.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.263/8.194, allocations: 0.6013 GB / 3.484 GB, free: 135.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.316e-06/8.194, allocations: 0 / 3.484 GB, free: 135.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001404/8.194, allocations: 43.67 kB / 3.484 GB, free: 135.1 MB / 0.698 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.003714/8.198, allocations: 1.353 MB / 3.486 GB, free: 134.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/8.198, allocations: 6.406 kB / 3.486 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/8.201, allocations: 0.5789 MB / 3.486 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/8.203, allocations: 0.9471 MB / 3.487 GB, free: 133.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/8.204, allocations: 60.14 kB / 3.487 GB, free: 133.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/8.204, allocations: 75.22 kB / 3.487 GB, free: 133.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/8.205, allocations: 0.911 MB / 3.488 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/8.205, allocations: 3 kB / 3.488 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/8.205, allocations: 31.59 kB / 3.488 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/8.205, allocations: 29.8 kB / 3.488 GB, free: 132.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/8.206, allocations: 0.6313 MB / 3.489 GB, free: 132.3 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005117/8.211, allocations: 4.973 MB / 3.494 GB, free: 127.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/8.212, allocations: 0.5811 MB / 3.494 GB, free: 127.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/8.213, allocations: 305.5 kB / 3.495 GB, free: 127.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/8.214, allocations: 1.592 MB / 3.496 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005764/8.215, allocations: 399 kB / 3.497 GB, free: 125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.426e-06/8.215, allocations: 3.188 kB / 3.497 GB, free: 125 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001409/8.216, allocations: 0.7162 MB / 3.497 GB, free: 124.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/8.216, allocations: 63.91 kB / 3.497 GB, free: 124.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/8.217, allocations: 0.9871 MB / 3.498 GB, free: 123.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/8.217, allocations: 37.7 kB / 3.498 GB, free: 123.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/8.218, allocations: 0.5546 MB / 3.499 GB, free: 122.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/8.218, allocations: 207.4 kB / 3.499 GB, free: 122.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/8.218, allocations: 22.97 kB / 3.499 GB, free: 122.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/8.218, allocations: 341.9 kB / 3.499 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/8.218, allocations: 258 kB / 3.5 GB, free: 121.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/8.219, allocations: 0.5918 MB / 3.5 GB, free: 121.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/8.219, allocations: 317.1 kB / 3.501 GB, free: 120.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/8.219, allocations: 4 kB / 3.501 GB, free: 120.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001397/8.221, allocations: 0.9154 MB / 3.501 GB, free: 119.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/8.221, allocations: 8 kB / 3.501 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/8.221, allocations: 8 kB / 3.501 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/8.221, allocations: 12 kB / 3.501 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/8.222, allocations: 278.1 kB / 3.502 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/8.222, allocations: 19.92 kB / 3.502 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/8.223, allocations: 204.9 kB / 3.502 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/8.223, allocations: 59.86 kB / 3.502 GB, free: 119.3 MB / 0.698 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 () * 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.0001936/8.224, allocations: 174.5 kB / 3.502 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/8.224, allocations: 122.6 kB / 3.502 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/8.226, allocations: 1.057 MB / 3.503 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/8.226, allocations: 11.98 kB / 3.503 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/8.226, allocations: 3.25 kB / 3.503 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/8.226, allocations: 3.984 kB / 3.503 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/8.229, allocations: 2.128 MB / 3.505 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/8.229, allocations: 0 / 3.505 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009767/8.23, allocations: 196.4 kB / 3.506 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/8.23, allocations: 6.969 kB / 3.506 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/8.23, allocations: 31.97 kB / 3.506 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/8.23, allocations: 7.938 kB / 3.506 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/8.23, allocations: 0 / 3.506 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/8.232, allocations: 1.566 MB / 3.507 GB, free: 113.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/8.232, allocations: 307.2 kB / 3.507 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/8.232, allocations: 20 kB / 3.508 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/8.233, allocations: 131.9 kB / 3.508 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/8.233, allocations: 58.45 kB / 3.508 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/8.234, allocations: 35.91 kB / 3.508 GB, free: 113.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008944/8.234, allocations: 0.7539 MB / 3.508 GB, free: 112.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.234, allocations: 0 / 3.508 GB, free: 112.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001381/8.236, allocations: 402.7 kB / 3.509 GB, free: 112.2 MB / 0.698 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) * 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.001572/8.237, allocations: 0.7754 MB / 3.51 GB, free: 111.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001301/8.239, allocations: 0.7657 MB / 3.51 GB, free: 111 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/8.239, allocations: 0 / 3.51 GB, free: 111 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/8.239, allocations: 427.2 kB / 3.511 GB, free: 110.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/8.241, allocations: 427.5 kB / 3.511 GB, free: 110.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/8.245, allocations: 1.813 MB / 3.513 GB, free: 108.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/8.245, allocations: 1.141 MB / 3.514 GB, free: 107.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001039/8.246, allocations: 261.9 kB / 3.514 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/8.247, allocations: 107.4 kB / 3.514 GB, free: 106.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/8.247, allocations: 4 kB / 3.514 GB, free: 106.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03336/8.28, allocations: 21.88 MB / 3.536 GB, free: 85.67 MB / 0.698 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)