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.746/1.746, allocations: 285.4 MB / 298 MB, free: 5.98 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.001351/0.001351, allocations: 176.8 kB / 366.4 MB, free: 2.074 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.988/1.988, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.001039/0.001039, allocations: 84.55 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.942e-05/5e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8827, allocations: 115.3 MB / 0.971 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.572/7.455, allocations: 2.314 GB / 3.285 GB, free: 191.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/7.455, allocations: 79.95 kB / 3.285 GB, free: 191.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.846/10.3, allocations: 0.6516 GB / 3.937 GB, free: 191.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.864e-06/10.3, allocations: 0 / 3.937 GB, free: 191.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001181/10.3, allocations: 35.98 kB / 3.937 GB, free: 191.5 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.004506/10.31, allocations: 1.412 MB / 3.938 GB, free: 190.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/10.31, allocations: 14.5 kB / 3.938 GB, free: 190.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/10.31, allocations: 112.8 kB / 3.938 GB, free: 190.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/10.31, allocations: 0.5405 MB / 3.939 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/10.34, allocations: 13.06 MB / 3.952 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/10.34, allocations: 317.5 kB / 3.952 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/10.34, allocations: 69.39 kB / 3.952 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/10.34, allocations: 0.9754 MB / 3.953 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/10.34, allocations: 0 / 3.953 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/10.34, allocations: 33.89 kB / 3.953 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/10.34, allocations: 33.41 kB / 3.953 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/10.34, allocations: 0.8624 MB / 3.954 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006387/10.35, allocations: 3.24 MB / 3.957 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/10.35, allocations: 0.6102 MB / 3.958 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/10.35, allocations: 379 kB / 3.958 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009111/10.35, allocations: 1.029 MB / 3.959 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007128/10.35, allocations: 483.8 kB / 3.959 GB, free: 187.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 4.95e-06/10.35, allocations: 0 / 3.959 GB, free: 187.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002022/10.35, allocations: 0.8353 MB / 3.96 GB, free: 187.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/10.35, allocations: 168.5 kB / 3.96 GB, free: 187.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/10.36, allocations: 0.9478 MB / 3.961 GB, free: 187.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/10.36, allocations: 44.45 kB / 3.961 GB, free: 187.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/10.36, allocations: 441.5 kB / 3.962 GB, free: 187 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/10.36, allocations: 196.1 kB / 3.962 GB, free: 186.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/10.36, allocations: 11.31 kB / 3.962 GB, free: 186.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001634/10.36, allocations: 331.5 kB / 3.962 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/10.36, allocations: 308.5 kB / 3.963 GB, free: 186.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/10.36, allocations: 0.4977 MB / 3.963 GB, free: 186.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/10.36, allocations: 386 kB / 3.963 GB, free: 186.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/10.36, allocations: 0.75 kB / 3.963 GB, free: 186.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001975/10.36, allocations: 0.9483 MB / 3.964 GB, free: 186.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/10.36, allocations: 36.73 kB / 3.964 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/10.36, allocations: 3.906 kB / 3.964 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/10.36, allocations: 7.375 kB / 3.964 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/10.36, allocations: 215.2 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/10.36, allocations: 16.23 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/10.36, allocations: 307.4 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/10.36, allocations: 49.58 kB / 3.965 GB, free: 186.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0003421/10.36, allocations: 178.3 kB / 3.965 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/10.36, allocations: 118.2 kB / 3.965 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/10.37, allocations: 0.92 MB / 3.966 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/10.37, allocations: 10.06 kB / 3.966 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/10.37, allocations: 5.156 kB / 3.966 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/10.37, allocations: 3.844 kB / 3.966 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/10.37, allocations: 3.241 MB / 3.969 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/10.37, allocations: 7.844 kB / 3.969 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/10.37, allocations: 130.6 kB / 3.969 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/10.37, allocations: 13.84 kB / 3.969 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/10.37, allocations: 26.38 kB / 3.97 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/10.37, allocations: 18.86 kB / 3.97 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/10.37, allocations: 13.81 kB / 3.97 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/10.37, allocations: 1.711 MB / 3.971 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006773/10.38, allocations: 341.8 kB / 3.972 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/10.38, allocations: 23.28 kB / 3.972 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/10.38, allocations: 132.1 kB / 3.972 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/10.38, allocations: 64.11 kB / 3.972 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/10.38, allocations: 45.31 kB / 3.972 GB, free: 183.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00111/10.38, allocations: 0.7381 MB / 3.973 GB, free: 183.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.38, allocations: 0 / 3.973 GB, free: 183.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00207/10.38, allocations: 433.6 kB / 3.973 GB, free: 183.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (58): * Single equations (assignments): 53 * 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.005182/10.39, allocations: 5.968 MB / 3.979 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001413/10.39, allocations: 0.8244 MB / 3.98 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/10.39, allocations: 0 / 3.98 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/10.39, allocations: 480.1 kB / 3.98 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/10.39, allocations: 0.535 MB / 3.981 GB, free: 179.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/10.39, allocations: 1.849 MB / 3.982 GB, free: 178.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/10.39, allocations: 1.087 MB / 3.983 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001289/10.4, allocations: 288.3 kB / 3.984 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/10.4, allocations: 362.5 kB / 3.984 GB, free: 177.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/10.4, allocations: 0 / 3.984 GB, free: 177.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09165/10.49, allocations: 55.22 MB / 4.038 GB, free: 159.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/10.49, allocations: 216.1 kB / 4.038 GB, free: 159 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.9/14.39, allocations: 2.812 kB / 4.038 GB, free: 159 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)