Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8043/0.8043, allocations: 127.4 MB / 134.9 MB, free: 3.441 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 190.1 kB / 164.7 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 399.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000832/0.0008316, allocations: 83.62 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.793e-05, allocations: 5.625 kB / 0.5466 GB, free: 95.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 76.76 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.184/5.319, allocations: 2.383 GB / 3.005 GB, free: 46.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/5.319, allocations: 84.56 kB / 3.005 GB, free: 46.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.41/7.729, allocations: 0.6415 GB / 3.647 GB, free: 94.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/7.729, allocations: 0 / 3.647 GB, free: 94.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001025/7.729, allocations: 39.47 kB / 3.647 GB, free: 94.83 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004112/7.733, allocations: 1.403 MB / 3.648 GB, free: 94.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/7.733, allocations: 10.84 kB / 3.648 GB, free: 94.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/7.736, allocations: 0.5362 MB / 3.648 GB, free: 94.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02568/7.762, allocations: 12.56 MB / 3.661 GB, free: 93.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/7.763, allocations: 289.8 kB / 3.661 GB, free: 93.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/7.763, allocations: 43.72 kB / 3.661 GB, free: 93.38 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001578/7.765, allocations: 0.7643 MB / 3.662 GB, free: 93.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/7.766, allocations: 0.8701 MB / 3.663 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/7.766, allocations: 3 kB / 3.663 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/7.766, allocations: 0 / 3.663 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/7.767, allocations: 32.31 kB / 3.663 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006698/7.773, allocations: 3.761 MB / 3.666 GB, free: 91.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007737/7.774, allocations: 0.5393 MB / 3.667 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/7.774, allocations: 281.5 kB / 3.667 GB, free: 91.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/7.775, allocations: 384.1 kB / 3.668 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/7.776, allocations: 437.4 kB / 3.668 GB, free: 91.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.775e-06/7.776, allocations: 0 / 3.668 GB, free: 91.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.001755/7.777, allocations: 0.7039 MB / 3.669 GB, free: 91.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/7.777, allocations: 139.2 kB / 3.669 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/7.779, allocations: 0.6899 MB / 3.669 GB, free: 90.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/7.779, allocations: 29.45 kB / 3.669 GB, free: 90.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/7.779, allocations: 480.6 kB / 3.67 GB, free: 90.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/7.779, allocations: 149.8 kB / 3.67 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/7.779, allocations: 3.656 kB / 3.67 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/7.779, allocations: 330.9 kB / 3.67 GB, free: 90.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/7.78, allocations: 298 kB / 3.671 GB, free: 90.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/7.78, allocations: 489.5 kB / 3.671 GB, free: 89.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/7.782, allocations: 395.5 kB / 3.671 GB, free: 89.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/7.782, allocations: 0 / 3.671 GB, free: 89.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001685/7.783, allocations: 0.9116 MB / 3.672 GB, free: 89.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/7.783, allocations: 37.22 kB / 3.672 GB, free: 89.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/7.783, allocations: 11.23 kB / 3.672 GB, free: 89.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/7.783, allocations: 10.77 kB / 3.672 GB, free: 89.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/7.784, allocations: 213.7 kB / 3.673 GB, free: 89.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/7.784, allocations: 7.281 kB / 3.673 GB, free: 89.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/7.786, allocations: 260 kB / 3.673 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/7.786, allocations: 50.64 kB / 3.673 GB, free: 89.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002257/7.786, allocations: 153.5 kB / 3.673 GB, free: 89.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/7.787, allocations: 97.12 kB / 3.673 GB, free: 89.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/7.787, allocations: 87.55 kB / 3.673 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/7.787, allocations: 7.359 kB / 3.673 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/7.787, allocations: 6.125 kB / 3.673 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/7.787, allocations: 3.469 kB / 3.673 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/7.791, allocations: 2.459 MB / 3.676 GB, free: 88.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/7.791, allocations: 7.156 kB / 3.676 GB, free: 88.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/7.791, allocations: 105 kB / 3.676 GB, free: 88.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/7.791, allocations: 14.14 kB / 3.676 GB, free: 88.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/7.792, allocations: 19.11 kB / 3.676 GB, free: 88.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/7.792, allocations: 12.16 kB / 3.676 GB, free: 88.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/7.792, allocations: 13.88 kB / 3.676 GB, free: 88.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/7.793, allocations: 1.228 MB / 3.677 GB, free: 88.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/7.794, allocations: 290.2 kB / 3.677 GB, free: 88.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/7.794, allocations: 11.44 kB / 3.677 GB, free: 88.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/7.795, allocations: 121.9 kB / 3.677 GB, free: 88.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/7.795, allocations: 41.59 kB / 3.677 GB, free: 88.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/7.795, allocations: 47.56 kB / 3.678 GB, free: 88.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008007/7.796, allocations: 0.5231 MB / 3.678 GB, free: 87.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/7.796, allocations: 0 / 3.678 GB, free: 87.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002068/7.798, allocations: 401.2 kB / 3.678 GB, free: 87.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.003263/7.801, allocations: 1.78 MB / 3.68 GB, free: 87.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001307/7.802, allocations: 0.7339 MB / 3.681 GB, free: 87.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/7.803, allocations: 5.25 kB / 3.681 GB, free: 87.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004599/7.803, allocations: 385 kB / 3.681 GB, free: 87.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/7.805, allocations: 343.1 kB / 3.682 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/7.808, allocations: 1.287 MB / 3.683 GB, free: 86.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/7.808, allocations: 1.071 MB / 3.684 GB, free: 86.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001076/7.809, allocations: 232.4 kB / 3.684 GB, free: 86.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/7.809, allocations: 76.56 kB / 3.684 GB, free: 86.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/7.809, allocations: 0 / 3.684 GB, free: 86.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.03661/7.846, allocations: 22.84 MB / 3.706 GB, free: 84.05 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)