Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.945/1.945, allocations: 285.6 MB / 293.1 MB, free: 10.13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 184.9 kB / 361.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 94.98 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.616e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8683/0.8683, allocations: 115.3 MB / 0.9645 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.598/7.466, allocations: 2.313 GB / 3.278 GB, free: 165 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/7.466, allocations: 83.14 kB / 3.278 GB, free: 165 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.812/10.28, allocations: 0.6451 GB / 3.923 GB, free: 193.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.395e-06/10.28, allocations: 6.578 kB / 3.923 GB, free: 193.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001053/10.28, allocations: 44.72 kB / 3.923 GB, free: 193.9 MB / 0.948 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.004042/10.28, allocations: 1.403 MB / 3.924 GB, free: 193.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/10.28, allocations: 11.59 kB / 3.924 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/10.29, allocations: 0.5363 MB / 3.925 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02739/10.31, allocations: 13.02 MB / 3.938 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/10.31, allocations: 292.8 kB / 3.938 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/10.31, allocations: 47.75 kB / 3.938 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001473/10.32, allocations: 0.759 MB / 3.939 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/10.32, allocations: 0.8752 MB / 3.94 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/10.32, allocations: 5.719 kB / 3.94 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/10.32, allocations: 3.953 kB / 3.94 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/10.32, allocations: 35.02 kB / 3.94 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00693/10.32, allocations: 3.114 MB / 3.943 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/10.33, allocations: 0.5759 MB / 3.943 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/10.33, allocations: 353.6 kB / 3.944 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008953/10.33, allocations: 1.036 MB / 3.945 GB, free: 190.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007208/10.33, allocations: 477.1 kB / 3.945 GB, free: 190.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 3.396e-06/10.33, allocations: 0 / 3.945 GB, free: 190.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.002427/10.33, allocations: 0.8013 MB / 3.946 GB, free: 190.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/10.33, allocations: 142.2 kB / 3.946 GB, free: 189.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/10.33, allocations: 0.6547 MB / 3.947 GB, free: 189.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.225e-05/10.33, allocations: 29.45 kB / 3.947 GB, free: 189.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/10.33, allocations: 468.6 kB / 3.947 GB, free: 189.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/10.33, allocations: 179.4 kB / 3.947 GB, free: 189.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/10.33, allocations: 7.875 kB / 3.947 GB, free: 189.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001081/10.33, allocations: 327.6 kB / 3.948 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/10.33, allocations: 312.2 kB / 3.948 GB, free: 189.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/10.33, allocations: 0.5173 MB / 3.948 GB, free: 189 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/10.33, allocations: 411.5 kB / 3.949 GB, free: 189 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/10.33, allocations: 3.875 kB / 3.949 GB, free: 189 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001769/10.34, allocations: 0.945 MB / 3.95 GB, free: 188.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/10.34, allocations: 36.69 kB / 3.95 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/10.34, allocations: 3.844 kB / 3.95 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/10.34, allocations: 11.5 kB / 3.95 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/10.34, allocations: 227.6 kB / 3.95 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/10.34, allocations: 12.33 kB / 3.95 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/10.34, allocations: 265.8 kB / 3.95 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/10.34, allocations: 48.92 kB / 3.95 GB, free: 188.9 MB / 0.948 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.0002612/10.34, allocations: 163.5 kB / 3.95 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001324/10.34, allocations: 0.7717 MB / 3.951 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/10.34, allocations: 92.81 kB / 3.951 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/10.34, allocations: 0.878 MB / 3.952 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/10.34, allocations: 11.22 kB / 3.952 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/10.34, allocations: 0 / 3.952 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/10.34, allocations: 3.844 kB / 3.952 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/10.35, allocations: 3.017 MB / 3.955 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/10.35, allocations: 10.59 kB / 3.955 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/10.35, allocations: 136.4 kB / 3.955 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/10.35, allocations: 12.47 kB / 3.955 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/10.35, allocations: 29.83 kB / 3.955 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/10.35, allocations: 18.94 kB / 3.955 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/10.35, allocations: 7.219 kB / 3.955 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/10.35, allocations: 1.604 MB / 3.957 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004723/10.35, allocations: 309.9 kB / 3.957 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/10.35, allocations: 15.28 kB / 3.957 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/10.35, allocations: 116.4 kB / 3.957 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/10.35, allocations: 63.48 kB / 3.957 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/10.35, allocations: 45.84 kB / 3.957 GB, free: 186.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006741/10.35, allocations: 0.5081 MB / 3.958 GB, free: 186.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.35, allocations: 0 / 3.958 GB, free: 186.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001728/10.35, allocations: 411.2 kB / 3.958 GB, free: 186.4 MB / 0.948 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.005385/10.36, allocations: 5.949 MB / 3.964 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001371/10.36, allocations: 0.8201 MB / 3.965 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/10.36, allocations: 7.156 kB / 3.965 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000529/10.36, allocations: 465.1 kB / 3.965 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/10.36, allocations: 354.7 kB / 3.966 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/10.37, allocations: 1.724 MB / 3.967 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/10.37, allocations: 1.093 MB / 3.968 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001119/10.37, allocations: 257.9 kB / 3.969 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/10.37, allocations: 351.6 kB / 3.969 GB, free: 180.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/10.37, allocations: 2.906 kB / 3.969 GB, free: 180.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06911/10.44, allocations: 34.01 MB / 4.002 GB, free: 175.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/10.44, allocations: 200 kB / 4.002 GB, free: 175.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/13.57, allocations: 0 / 4.002 GB, free: 175.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)