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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6676/0.6676, allocations: 117.9 MB / 133.9 MB, free: 4.523 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.001129/0.001129, allocations: 189.5 kB / 161.7 MB, free: 2.75 MB / 122.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.4 MB / 394.8 MB, free: 20.93 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.000719/0.000719, allocations: 94.28 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 12 kB / 0.5423 GB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2797, allocations: 74.53 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.485/4.765, allocations: 2.383 GB / 2.998 GB, free: 242.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/4.765, allocations: 101.7 kB / 2.998 GB, free: 242.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.803/6.568, allocations: 0.6443 GB / 3.643 GB, free: 83.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/6.568, allocations: 192 / 3.643 GB, free: 83.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001309/6.568, allocations: 35.98 kB / 3.643 GB, free: 83.95 MB / 0.6355 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.004362/6.572, allocations: 1.553 MB / 3.644 GB, free: 82.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/6.573, allocations: 8.031 kB / 3.644 GB, free: 82.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/6.575, allocations: 0.5303 MB / 3.645 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/6.596, allocations: 11.84 MB / 3.656 GB, free: 69.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/6.597, allocations: 325.5 kB / 3.657 GB, free: 69.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/6.598, allocations: 68.38 kB / 3.657 GB, free: 69.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/6.6, allocations: 1.158 MB / 3.658 GB, free: 68.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/6.6, allocations: 4 kB / 3.658 GB, free: 68.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/6.6, allocations: 35.88 kB / 3.658 GB, free: 68.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/6.6, allocations: 25.31 kB / 3.658 GB, free: 68.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/6.603, allocations: 1.25 MB / 3.659 GB, free: 66.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006215/6.61, allocations: 3.246 MB / 3.662 GB, free: 63.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/6.611, allocations: 0.7024 MB / 3.663 GB, free: 62.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/6.612, allocations: 397.5 kB / 3.663 GB, free: 62.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/6.613, allocations: 1.029 MB / 3.664 GB, free: 61.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008569/6.614, allocations: 0.5182 MB / 3.665 GB, free: 60.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/6.614, allocations: 0 / 3.665 GB, free: 60.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.002843/6.616, allocations: 1.217 MB / 3.666 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/6.616, allocations: 174.1 kB / 3.666 GB, free: 59.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/6.618, allocations: 1.203 MB / 3.667 GB, free: 58.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/6.619, allocations: 40.7 kB / 3.667 GB, free: 58.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/6.619, allocations: 465.1 kB / 3.668 GB, free: 57.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/6.619, allocations: 177.6 kB / 3.668 GB, free: 57.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/6.619, allocations: 12 kB / 3.668 GB, free: 57.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/6.619, allocations: 330 kB / 3.668 GB, free: 57.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/6.62, allocations: 484.9 kB / 3.669 GB, free: 56.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/6.622, allocations: 0.6649 MB / 3.67 GB, free: 55.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/6.624, allocations: 0.9637 MB / 3.67 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/6.624, allocations: 0 / 3.67 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002858/6.626, allocations: 1.299 MB / 3.672 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/6.626, allocations: 33.7 kB / 3.672 GB, free: 53.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/6.626, allocations: 4 kB / 3.672 GB, free: 53.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/6.627, allocations: 4 kB / 3.672 GB, free: 53.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/6.627, allocations: 215.9 kB / 3.672 GB, free: 53.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/6.627, allocations: 7.938 kB / 3.672 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/6.629, allocations: 314.8 kB / 3.672 GB, free: 52.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/6.629, allocations: 43.97 kB / 3.672 GB, free: 52.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0005554/6.63, allocations: 315.4 kB / 3.673 GB, free: 52.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/6.63, allocations: 118.5 kB / 3.673 GB, free: 52.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/6.632, allocations: 0.9735 MB / 3.674 GB, free: 51.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/6.632, allocations: 4 kB / 3.674 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/6.632, allocations: 0 / 3.674 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/6.632, allocations: 3.984 kB / 3.674 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/6.636, allocations: 2.778 MB / 3.676 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/6.636, allocations: 4.062 kB / 3.676 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/6.636, allocations: 111.8 kB / 3.677 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/6.636, allocations: 8 kB / 3.677 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/6.637, allocations: 23.98 kB / 3.677 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/6.637, allocations: 12 kB / 3.677 GB, free: 48.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/6.637, allocations: 7.938 kB / 3.677 GB, free: 48.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/6.638, allocations: 1.139 MB / 3.678 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005935/6.639, allocations: 323.4 kB / 3.678 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/6.639, allocations: 23.98 kB / 3.678 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/6.64, allocations: 119.9 kB / 3.678 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/6.64, allocations: 51.83 kB / 3.678 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/6.64, allocations: 35.97 kB / 3.678 GB, free: 46.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001492/6.642, allocations: 0.9389 MB / 3.679 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/6.642, allocations: 0 / 3.679 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001616/6.643, allocations: 439.6 kB / 3.68 GB, free: 45.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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.002219/6.646, allocations: 1.644 MB / 3.681 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002054/6.648, allocations: 0.9755 MB / 3.682 GB, free: 42.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/6.648, allocations: 8.312 kB / 3.682 GB, free: 42.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/6.648, allocations: 444.5 kB / 3.683 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/6.652, allocations: 0.518 MB / 3.683 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/6.655, allocations: 2.082 MB / 3.685 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/6.655, allocations: 1.06 MB / 3.686 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001229/6.657, allocations: 262.1 kB / 3.686 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/6.657, allocations: 91.33 kB / 3.686 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/6.657, allocations: 4 kB / 3.686 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.04551/6.702, allocations: 37.37 MB / 3.723 GB, free: 0.8398 MB / 0.6355 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)