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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7693/0.7693, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001142/0.001142, allocations: 188.2 kB / 173.7 MB, free: 6.125 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.795/1.795, allocations: 205.4 MB / 409 MB, free: 10.52 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.001108/0.001108, allocations: 90.78 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 10.53 kB / 0.5604 GB, free: 97.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1677, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.681/5.849, allocations: 2.384 GB / 3.02 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/5.85, allocations: 87.19 kB / 3.02 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.929/7.779, allocations: 0.6492 GB / 3.669 GB, free: 22.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.423e-06/7.779, allocations: 0 / 3.669 GB, free: 22.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001508/7.779, allocations: 39.92 kB / 3.669 GB, free: 22.26 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.004793/7.784, allocations: 1.561 MB / 3.67 GB, free: 20.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/7.784, allocations: 8.031 kB / 3.67 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003986/7.784, allocations: 119.2 kB / 3.671 GB, free: 20.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/7.787, allocations: 0.5371 MB / 3.671 GB, free: 19.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/7.811, allocations: 12.67 MB / 3.683 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/7.812, allocations: 309.1 kB / 3.684 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/7.812, allocations: 72 kB / 3.684 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/7.815, allocations: 1.152 MB / 3.685 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/7.815, allocations: 0 / 3.685 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/7.815, allocations: 32 kB / 3.685 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/7.815, allocations: 37.27 kB / 3.685 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/7.818, allocations: 1.235 MB / 3.686 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006169/7.825, allocations: 3.248 MB / 3.689 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/7.826, allocations: 0.7025 MB / 3.69 GB, free: 220 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/7.827, allocations: 1.029 MB / 3.691 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/7.828, allocations: 0.504 MB / 3.692 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 3.627e-06/7.828, allocations: 3.938 kB / 3.692 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.003237/7.832, allocations: 1.28 MB / 3.693 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/7.832, allocations: 166.2 kB / 3.693 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/7.835, allocations: 1.088 MB / 3.694 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/7.835, allocations: 41.7 kB / 3.694 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/7.835, allocations: 457.3 kB / 3.695 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/7.835, allocations: 173.6 kB / 3.695 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/7.835, allocations: 12 kB / 3.695 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001494/7.836, allocations: 333.9 kB / 3.695 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/7.837, allocations: 476.8 kB / 3.696 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/7.838, allocations: 0.6504 MB / 3.696 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/7.84, allocations: 0.5416 MB / 3.697 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/7.84, allocations: 0 / 3.697 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003517/7.843, allocations: 1.275 MB / 3.698 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/7.843, allocations: 41.69 kB / 3.698 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/7.844, allocations: 0 / 3.698 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/7.844, allocations: 8 kB / 3.698 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/7.845, allocations: 211.9 kB / 3.698 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/7.845, allocations: 4 kB / 3.698 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/7.846, allocations: 310.5 kB / 3.698 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/7.847, allocations: 35.98 kB / 3.698 GB, free: 7.176 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.0007638/7.847, allocations: 328.2 kB / 3.699 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/7.848, allocations: 114.6 kB / 3.699 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/7.85, allocations: 0.9658 MB / 3.7 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/7.85, allocations: 4 kB / 3.7 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/7.85, allocations: 3.984 kB / 3.7 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/7.85, allocations: 0 / 3.7 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004933/7.855, allocations: 2.744 MB / 3.703 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/7.855, allocations: 8 kB / 3.703 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/7.856, allocations: 104 kB / 3.703 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/7.856, allocations: 12 kB / 3.703 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/7.856, allocations: 27.98 kB / 3.703 GB, free: 2.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/7.856, allocations: 11.94 kB / 3.703 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/7.856, allocations: 4 kB / 3.703 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/7.858, allocations: 1.447 MB / 3.704 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007426/7.859, allocations: 335.4 kB / 3.704 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/7.859, allocations: 12 kB / 3.704 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/7.861, allocations: 127.9 kB / 3.705 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/7.861, allocations: 43.84 kB / 3.705 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.761e-05/7.861, allocations: 35.97 kB / 3.705 GB, free: 460 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.3333/8.194, allocations: 0.9362 MB / 3.706 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.21e-07/8.194, allocations: 0 / 3.706 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002222/8.196, allocations: 431.9 kB / 3.706 GB, free: 108.4 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.005848/8.202, allocations: 5.161 MB / 3.711 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00255/8.205, allocations: 0.9772 MB / 3.712 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/8.205, allocations: 3.781 kB / 3.712 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008099/8.206, allocations: 441.9 kB / 3.712 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/8.208, allocations: 0.5125 MB / 3.713 GB, free: 105 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/8.22, allocations: 8.52 MB / 3.721 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/8.221, allocations: 1.075 MB / 3.722 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001285/8.222, allocations: 260.4 kB / 3.723 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/8.222, allocations: 372.7 kB / 3.723 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of SimCode: time 7.814e-06/8.222, allocations: 0 / 3.723 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/8.307, allocations: 51.51 MB / 3.773 GB, free: 99.35 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/8.308, allocations: 245.5 kB / 3.773 GB, free: 99.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.542/11.85, allocations: 3.594 kB / 3.773 GB, free: 99.07 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)