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.796/0.796, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 184.8 kB / 169.7 MB, free: 1.77 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.898/1.898, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0009642/0.0009642, allocations: 90.3 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.63e-05/5.633e-05, allocations: 8 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1983, allocations: 76.75 MB / 0.6282 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.44/6.638, allocations: 2.384 GB / 3.012 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/6.639, allocations: 84.77 kB / 3.012 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.011/8.65, allocations: 0.6481 GB / 3.66 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.583e-06/8.65, allocations: 4 kB / 3.66 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001047/8.65, allocations: 35.92 kB / 3.66 GB, free: 9.84 MB / 0.6667 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.003758/8.654, allocations: 1.402 MB / 3.662 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/8.654, allocations: 8.031 kB / 3.662 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/8.657, allocations: 0.541 MB / 3.662 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5119/9.169, allocations: 12.58 MB / 3.675 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/9.17, allocations: 315.6 kB / 3.675 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/9.17, allocations: 73.75 kB / 3.675 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/9.172, allocations: 0.9572 MB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/9.172, allocations: 4.219 kB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/9.173, allocations: 29.58 kB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/9.173, allocations: 29.73 kB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/9.174, allocations: 0.8674 MB / 3.677 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006832/9.181, allocations: 3.245 MB / 3.68 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/9.182, allocations: 0.597 MB / 3.681 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/9.183, allocations: 325.8 kB / 3.681 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007916/9.184, allocations: 1.032 MB / 3.682 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/9.184, allocations: 456 kB / 3.682 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 3.186e-06/9.184, allocations: 2.969 kB / 3.682 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.001935/9.186, allocations: 0.784 MB / 3.683 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/9.186, allocations: 169 kB / 3.683 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/9.188, allocations: 0.9591 MB / 3.684 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/9.188, allocations: 37.23 kB / 3.684 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/9.188, allocations: 449.2 kB / 3.685 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/9.189, allocations: 168.5 kB / 3.685 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/9.189, allocations: 15.33 kB / 3.685 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/9.189, allocations: 326.5 kB / 3.685 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/9.189, allocations: 298.6 kB / 3.685 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/9.19, allocations: 481 kB / 3.686 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/9.19, allocations: 368.4 kB / 3.686 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/9.19, allocations: 1.094 kB / 3.686 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001626/9.192, allocations: 0.9122 MB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/9.192, allocations: 35.98 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/9.192, allocations: 3.688 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/9.192, allocations: 5.719 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/9.193, allocations: 211.1 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/9.193, allocations: 8.422 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/9.195, allocations: 313.9 kB / 3.688 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/9.195, allocations: 38.97 kB / 3.688 GB, free: 101.7 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 () * 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.0002886/9.196, allocations: 180.4 kB / 3.688 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/9.196, allocations: 116.2 kB / 3.688 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/9.198, allocations: 0.8481 MB / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/9.198, allocations: 4.812 kB / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/9.198, allocations: 0 / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/9.198, allocations: 3.547 kB / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/9.203, allocations: 2.624 MB / 3.691 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/9.203, allocations: 6.797 kB / 3.691 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/9.203, allocations: 106.5 kB / 3.692 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/9.203, allocations: 8.531 kB / 3.692 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/9.204, allocations: 24.02 kB / 3.692 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/9.204, allocations: 11.09 kB / 3.692 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/9.204, allocations: 8.219 kB / 3.692 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/9.205, allocations: 1.347 MB / 3.693 GB, free: 99.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/9.206, allocations: 324.6 kB / 3.693 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/9.206, allocations: 20.56 kB / 3.693 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/9.207, allocations: 126.7 kB / 3.693 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/9.207, allocations: 49.62 kB / 3.693 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/9.207, allocations: 35.31 kB / 3.693 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001223/9.208, allocations: 0.8126 MB / 3.694 GB, free: 99.52 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/9.209, allocations: 1.312 kB / 3.694 GB, free: 99.52 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001846/9.21, allocations: 425.6 kB / 3.695 GB, free: 99.52 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) * 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.002875/9.213, allocations: 1.613 MB / 3.696 GB, free: 99.11 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001485/9.215, allocations: 0.7364 MB / 3.697 GB, free: 99.04 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/9.215, allocations: 0.9375 kB / 3.697 GB, free: 99.04 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005353/9.215, allocations: 393.8 kB / 3.697 GB, free: 98.97 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/9.218, allocations: 0.5078 MB / 3.698 GB, free: 98.97 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/9.221, allocations: 1.41 MB / 3.699 GB, free: 98.46 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/9.221, allocations: 1.08 MB / 3.7 GB, free: 97.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001269/9.223, allocations: 257.3 kB / 3.701 GB, free: 97.74 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/9.223, allocations: 81.11 kB / 3.701 GB, free: 97.73 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/9.223, allocations: 0 / 3.701 GB, free: 97.73 MB / 0.6667 GB Notification: Performance of Templates: time 0.05485/9.278, allocations: 40.4 MB / 3.74 GB, free: 96.56 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)