Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9416/0.9416, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 176 kB / 191.5 MB, free: 5.77 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.592/1.592, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.0009905/0.0009905, allocations: 96.25 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 272.8 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004599, allocations: 18.31 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.685/4.878, allocations: 1.834 GB / 2.608 GB, free: 243.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/4.878, allocations: 95.77 kB / 2.608 GB, free: 243.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.348/7.226, allocations: 0.6876 GB / 3.296 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.302e-06/7.226, allocations: 4 kB / 3.296 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001113/7.226, allocations: 51.91 kB / 3.296 GB, free: 101.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007752/7.234, allocations: 2.071 MB / 3.298 GB, free: 99.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/7.234, allocations: 12.03 kB / 3.298 GB, free: 99.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/7.239, allocations: 0.8722 MB / 3.299 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/7.244, allocations: 1.178 MB / 3.3 GB, free: 97.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/7.244, allocations: 69.98 kB / 3.3 GB, free: 97.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/7.244, allocations: 91.91 kB / 3.3 GB, free: 97.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/7.247, allocations: 1.552 MB / 3.302 GB, free: 95.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/7.247, allocations: 0 / 3.302 GB, free: 95.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/7.247, allocations: 39.94 kB / 3.302 GB, free: 95.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/7.247, allocations: 37.98 kB / 3.302 GB, free: 95.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/7.252, allocations: 1.674 MB / 3.303 GB, free: 93.87 MB / 0.7136 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.008559/7.26, allocations: 5.041 MB / 3.308 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/7.264, allocations: 1.634 MB / 3.31 GB, free: 86.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/7.265, allocations: 0.9452 MB / 3.311 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002201/7.268, allocations: 0.9651 MB / 3.312 GB, free: 84.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 1.222e-05/7.268, allocations: 3.938 kB / 3.312 GB, free: 84.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007292/7.275, allocations: 2.599 MB / 3.314 GB, free: 82.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/7.275, allocations: 64.39 kB / 3.314 GB, free: 82.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/7.276, allocations: 1.066 MB / 3.315 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/7.277, allocations: 53.69 kB / 3.315 GB, free: 81.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/7.277, allocations: 0.545 MB / 3.316 GB, free: 80.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/7.277, allocations: 327.3 kB / 3.316 GB, free: 80.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/7.277, allocations: 16 kB / 3.316 GB, free: 80.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/7.277, allocations: 349.9 kB / 3.317 GB, free: 79.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/7.279, allocations: 0.7435 MB / 3.317 GB, free: 79.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/7.281, allocations: 1.006 MB / 3.318 GB, free: 77.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/7.283, allocations: 0.7836 MB / 3.319 GB, free: 77.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/7.283, allocations: 3.938 kB / 3.319 GB, free: 77.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004796/7.288, allocations: 1.874 MB / 3.321 GB, free: 75.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/7.288, allocations: 12.03 kB / 3.321 GB, free: 75.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/7.288, allocations: 4 kB / 3.321 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/7.288, allocations: 11.95 kB / 3.321 GB, free: 75.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/7.29, allocations: 359.4 kB / 3.321 GB, free: 74.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/7.29, allocations: 11.98 kB / 3.321 GB, free: 74.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/7.293, allocations: 274.7 kB / 3.321 GB, free: 74.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/7.293, allocations: 51.97 kB / 3.322 GB, free: 74.58 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0009502/7.294, allocations: 331.8 kB / 3.322 GB, free: 74.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/7.294, allocations: 138.2 kB / 3.322 GB, free: 74.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/7.299, allocations: 1.963 MB / 3.324 GB, free: 72.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/7.299, allocations: 11.95 kB / 3.324 GB, free: 72.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/7.299, allocations: 0 / 3.324 GB, free: 72.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/7.299, allocations: 3.984 kB / 3.324 GB, free: 72.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/7.306, allocations: 3.602 MB / 3.327 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/7.306, allocations: 4 kB / 3.327 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/7.308, allocations: 311.9 kB / 3.328 GB, free: 68.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/7.308, allocations: 8 kB / 3.328 GB, free: 68.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/7.308, allocations: 43.95 kB / 3.328 GB, free: 68.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/7.308, allocations: 4 kB / 3.328 GB, free: 68.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/7.308, allocations: 11.94 kB / 3.328 GB, free: 68.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/7.315, allocations: 3.259 MB / 3.331 GB, free: 64.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/7.316, allocations: 367.1 kB / 3.331 GB, free: 64.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/7.316, allocations: 31.95 kB / 3.331 GB, free: 64.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/7.318, allocations: 183.7 kB / 3.332 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/7.318, allocations: 72.8 kB / 3.332 GB, free: 63.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-05/7.318, allocations: 43.97 kB / 3.332 GB, free: 63.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001003/7.319, allocations: 0.8396 MB / 3.332 GB, free: 63.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/7.319, allocations: 4 kB / 3.332 GB, free: 63.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00189/7.321, allocations: 0.5269 MB / 3.333 GB, free: 62.56 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003272/7.324, allocations: 2.042 MB / 3.335 GB, free: 60.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004629/7.329, allocations: 1.734 MB / 3.337 GB, free: 58.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/7.329, allocations: 0 / 3.337 GB, free: 58.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/7.331, allocations: 0.9005 MB / 3.338 GB, free: 58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/7.334, allocations: 0.5962 MB / 3.338 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/7.35, allocations: 4.212 MB / 3.342 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/7.351, allocations: 1.216 MB / 3.343 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001999/7.353, allocations: 398 kB / 3.344 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/7.354, allocations: 135.3 kB / 3.344 GB, free: 51.35 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/7.354, allocations: 0 / 3.344 GB, free: 51.35 MB / 0.7136 GB Notification: Performance of Templates: time 0.06107/7.415, allocations: 43.76 MB / 3.387 GB, free: 7.84 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)