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.7736/0.7736, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001183/0.001183, allocations: 175.9 kB / 173.8 MB, free: 6.141 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.592/1.592, allocations: 205.4 MB / 409 MB, free: 10.51 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.001023/0.001023, allocations: 84.58 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 11.78 kB / 0.5603 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 76.76 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.486/4.625, allocations: 2.384 GB / 3.019 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/4.625, allocations: 92.39 kB / 3.02 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.865/6.491, allocations: 0.6492 GB / 3.669 GB, free: 22.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/6.491, allocations: 0 / 3.669 GB, free: 22.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.933e-05/6.491, allocations: 39.92 kB / 3.669 GB, free: 22.66 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.003844/6.495, allocations: 1.553 MB / 3.67 GB, free: 21.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/6.495, allocations: 8.031 kB / 3.67 GB, free: 21.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/6.497, allocations: 0.5455 MB / 3.671 GB, free: 20.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02276/6.52, allocations: 12.66 MB / 3.683 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/6.521, allocations: 325 kB / 3.684 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/6.521, allocations: 68 kB / 3.684 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/6.524, allocations: 1.152 MB / 3.685 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/6.524, allocations: 0 / 3.685 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/6.524, allocations: 28 kB / 3.685 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/6.524, allocations: 29.31 kB / 3.685 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/6.527, allocations: 1.246 MB / 3.686 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005458/6.532, allocations: 3.251 MB / 3.689 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/6.533, allocations: 0.6947 MB / 3.69 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/6.534, allocations: 1.032 MB / 3.691 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009503/6.535, allocations: 0.5 MB / 3.691 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 2.325e-06/6.535, allocations: 0 / 3.691 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.002931/6.538, allocations: 1.292 MB / 3.693 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/6.538, allocations: 158.2 kB / 3.693 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/6.54, allocations: 1.092 MB / 3.694 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/6.54, allocations: 37.7 kB / 3.694 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/6.541, allocations: 461.2 kB / 3.694 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/6.541, allocations: 166.7 kB / 3.695 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/6.541, allocations: 12 kB / 3.695 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001177/6.541, allocations: 337.9 kB / 3.695 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/6.542, allocations: 472.8 kB / 3.695 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/6.544, allocations: 0.6534 MB / 3.696 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/6.545, allocations: 0.5456 MB / 3.696 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/6.545, allocations: 0 / 3.696 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003236/6.548, allocations: 1.275 MB / 3.698 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/6.548, allocations: 37.69 kB / 3.698 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/6.548, allocations: 4 kB / 3.698 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/6.548, allocations: 4 kB / 3.698 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/6.549, allocations: 211.9 kB / 3.698 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/6.549, allocations: 10.16 kB / 3.698 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/6.551, allocations: 298.9 kB / 3.698 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/6.551, allocations: 43.97 kB / 3.698 GB, free: 7.695 MB / 0.6667 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 (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.0006529/6.552, allocations: 331.2 kB / 3.699 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/6.552, allocations: 114.6 kB / 3.699 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/6.554, allocations: 0.9581 MB / 3.7 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/6.554, allocations: 4 kB / 3.7 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/6.554, allocations: 4 kB / 3.7 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/6.554, allocations: 4 kB / 3.7 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004459/6.559, allocations: 2.741 MB / 3.702 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/6.559, allocations: 12.03 kB / 3.702 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/6.559, allocations: 103.8 kB / 3.702 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/6.559, allocations: 8 kB / 3.702 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/6.559, allocations: 19.98 kB / 3.702 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/6.559, allocations: 22.08 kB / 3.703 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/6.559, allocations: 8 kB / 3.703 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/6.561, allocations: 1.447 MB / 3.704 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/6.562, allocations: 319.5 kB / 3.704 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/6.562, allocations: 27.94 kB / 3.704 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/6.563, allocations: 119.9 kB / 3.704 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/6.564, allocations: 51.77 kB / 3.704 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/6.564, allocations: 35.97 kB / 3.704 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001605/6.565, allocations: 0.9427 MB / 3.705 GB, free: 20 kB / 0.6667 GB Notification: Performance of sort global known variables: time 2.51e-07/6.565, allocations: 0 / 3.705 GB, free: 20 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.402/6.967, allocations: 423.5 kB / 3.706 GB, free: 108.7 MB / 0.6667 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.002563/6.97, allocations: 1.608 MB / 3.707 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002576/6.973, allocations: 0.969 MB / 3.708 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/6.973, allocations: 0 / 3.708 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007673/6.973, allocations: 452.1 kB / 3.709 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/6.976, allocations: 0.5124 MB / 3.709 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/6.98, allocations: 2.072 MB / 3.711 GB, free: 107.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/6.98, allocations: 1.079 MB / 3.712 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001543/6.982, allocations: 257.2 kB / 3.713 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/6.982, allocations: 80.23 kB / 3.713 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of SimCode: time 1.793e-06/6.982, allocations: 0 / 3.713 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.06178/7.044, allocations: 36.75 MB / 3.749 GB, free: 105.7 MB / 0.6667 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)