Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 172.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009927/0.0009928, allocations: 87.89 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.139e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.997/7.244, allocations: 2.431 GB / 3.317 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/7.244, allocations: 89.2 kB / 3.317 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.379/9.623, allocations: 0.6261 GB / 3.943 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.192e-06/9.623, allocations: 0 / 3.943 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002162/9.623, allocations: 40.34 kB / 3.943 GB, free: 157.2 MB / 0.8698 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.005428/9.629, allocations: 1.415 MB / 3.944 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/9.629, allocations: 11.56 kB / 3.944 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/9.632, allocations: 0.5326 MB / 3.945 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02668/9.659, allocations: 12.68 MB / 3.957 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/9.66, allocations: 293.4 kB / 3.957 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/9.66, allocations: 49.31 kB / 3.957 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002145/9.662, allocations: 0.7497 MB / 3.958 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/9.665, allocations: 0.884 MB / 3.959 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/9.665, allocations: 3.219 kB / 3.959 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/9.665, allocations: 0.5156 kB / 3.959 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/9.665, allocations: 31.53 kB / 3.959 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007083/9.672, allocations: 3.222 MB / 3.962 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/9.673, allocations: 0.5756 MB / 3.963 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/9.674, allocations: 354.6 kB / 3.963 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007574/9.674, allocations: 1.025 MB / 3.964 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/9.675, allocations: 487.1 kB / 3.965 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 4.057e-06/9.675, allocations: 0 / 3.965 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.001989/9.677, allocations: 0.8067 MB / 3.965 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/9.677, allocations: 137.6 kB / 3.966 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009425/9.678, allocations: 0.6483 MB / 3.966 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/9.678, allocations: 28.23 kB / 3.966 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/9.678, allocations: 460 kB / 3.967 GB, free: 153 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/9.679, allocations: 192.3 kB / 3.967 GB, free: 153 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/9.679, allocations: 0 / 3.967 GB, free: 153 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/9.679, allocations: 333.3 kB / 3.967 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/9.679, allocations: 309.4 kB / 3.967 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/9.68, allocations: 0.5134 MB / 3.968 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/9.681, allocations: 412.2 kB / 3.968 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/9.681, allocations: 0 / 3.968 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001744/9.682, allocations: 0.9529 MB / 3.969 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/9.683, allocations: 45.7 kB / 3.969 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/9.683, allocations: 2.812 kB / 3.969 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/9.683, allocations: 8.844 kB / 3.969 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/9.684, allocations: 222 kB / 3.97 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/9.684, allocations: 14.08 kB / 3.97 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/9.685, allocations: 263.7 kB / 3.97 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/9.686, allocations: 53.59 kB / 3.97 GB, free: 152.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (69): * Single equations (assignments): 68 * 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.0002529/9.686, allocations: 155.1 kB / 3.97 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001339/9.687, allocations: 0.7761 MB / 3.971 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/9.687, allocations: 89.97 kB / 3.971 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/9.689, allocations: 0.8625 MB / 3.972 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/9.689, allocations: 10.62 kB / 3.972 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/9.689, allocations: 2.438 kB / 3.972 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/9.689, allocations: 3.75 kB / 3.972 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/9.693, allocations: 3.025 MB / 3.975 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/9.693, allocations: 11.56 kB / 3.975 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/9.694, allocations: 133.9 kB / 3.975 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/9.694, allocations: 11.22 kB / 3.975 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/9.694, allocations: 28.25 kB / 3.975 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/9.694, allocations: 15.12 kB / 3.975 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/9.694, allocations: 17.34 kB / 3.975 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/9.696, allocations: 1.59 MB / 3.976 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/9.696, allocations: 313.7 kB / 3.977 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/9.697, allocations: 14.75 kB / 3.977 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/9.698, allocations: 117.8 kB / 3.977 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/9.698, allocations: 59.25 kB / 3.977 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/9.698, allocations: 43.78 kB / 3.977 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006308/9.699, allocations: 0.5106 MB / 3.977 GB, free: 150 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/9.699, allocations: 0 / 3.977 GB, free: 150 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001692/9.7, allocations: 414.5 kB / 3.978 GB, free: 150 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.004598/9.705, allocations: 5.948 MB / 3.984 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001271/9.706, allocations: 0.8199 MB / 3.984 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/9.706, allocations: 1.438 kB / 3.984 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005183/9.707, allocations: 470.8 kB / 3.985 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/9.709, allocations: 363.4 kB / 3.985 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/9.713, allocations: 1.705 MB / 3.987 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/9.714, allocations: 1.089 MB / 3.988 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001237/9.715, allocations: 256.9 kB / 3.988 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/9.715, allocations: 356.8 kB / 3.989 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/9.715, allocations: 1.781 kB / 3.989 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0612/9.777, allocations: 34.01 MB / 4.022 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/9.777, allocations: 201.4 kB / 4.022 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/12.79, allocations: 0 / 4.022 GB, free: 143.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)