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.803/1.803, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001116/0.001116, allocations: 180.3 kB / 371.8 MB, free: 10.26 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.609/1.609, allocations: 205.4 MB / 0.6305 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009632/0.0009629, allocations: 102.6 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 13.09 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.207/5.42, allocations: 2.314 GB / 3.294 GB, free: 284.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/5.42, allocations: 90.41 kB / 3.294 GB, free: 284.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.918/7.338, allocations: 0.6527 GB / 3.946 GB, free: 24.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/7.338, allocations: 0 / 3.946 GB, free: 24.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000153/7.338, allocations: 31.98 kB / 3.946 GB, free: 24.45 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.005138/7.343, allocations: 1.591 MB / 3.948 GB, free: 22.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/7.343, allocations: 8.031 kB / 3.948 GB, free: 22.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003908/7.344, allocations: 110.5 kB / 3.948 GB, free: 22.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/7.347, allocations: 0.5372 MB / 3.949 GB, free: 22.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02633/7.373, allocations: 13.14 MB / 3.962 GB, free: 8.812 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/7.374, allocations: 317.2 kB / 3.962 GB, free: 8.504 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004184/7.375, allocations: 72 kB / 3.962 GB, free: 8.434 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/7.378, allocations: 1.174 MB / 3.963 GB, free: 7.215 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/7.378, allocations: 3.938 kB / 3.963 GB, free: 7.211 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/7.378, allocations: 28 kB / 3.963 GB, free: 7.184 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/7.378, allocations: 29.31 kB / 3.963 GB, free: 7.152 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/7.381, allocations: 1.231 MB / 3.964 GB, free: 5.922 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006564/7.387, allocations: 3.256 MB / 3.967 GB, free: 2.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/7.389, allocations: 0.7083 MB / 3.968 GB, free: 1.871 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/7.39, allocations: 1.029 MB / 3.969 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009258/7.391, allocations: 0.5346 MB / 3.97 GB, free: 56 kB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.866e-06/7.391, allocations: 3.938 kB / 3.97 GB, free: 52 kB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.6156/8.006, allocations: 1.348 MB / 3.971 GB, free: 170.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/8.007, allocations: 164.4 kB / 3.971 GB, free: 170.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/8.009, allocations: 1.081 MB / 3.972 GB, free: 170.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/8.009, allocations: 45.64 kB / 3.972 GB, free: 170.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/8.009, allocations: 438 kB / 3.973 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/8.01, allocations: 196.4 kB / 3.973 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/8.01, allocations: 11.72 kB / 3.973 GB, free: 170.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/8.01, allocations: 331.6 kB / 3.973 GB, free: 170 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/8.011, allocations: 493.4 kB / 3.974 GB, free: 170 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/8.013, allocations: 0.6837 MB / 3.974 GB, free: 169.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/8.014, allocations: 0.5507 MB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/8.014, allocations: 3.375 kB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003404/8.017, allocations: 1.314 MB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/8.017, allocations: 38.08 kB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/8.017, allocations: 5.156 kB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/8.018, allocations: 6.375 kB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/8.019, allocations: 217.7 kB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/8.019, allocations: 9.859 kB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/8.021, allocations: 309.4 kB / 3.977 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/8.021, allocations: 51.03 kB / 3.977 GB, free: 169.6 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 () * Number of clocked 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.0006744/8.021, allocations: 330.4 kB / 3.977 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/8.022, allocations: 112.3 kB / 3.977 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/8.024, allocations: 1.033 MB / 3.978 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/8.024, allocations: 8.938 kB / 3.978 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/8.024, allocations: 6.156 kB / 3.978 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/8.024, allocations: 4.875 kB / 3.978 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/8.029, allocations: 3.353 MB / 3.982 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/8.029, allocations: 7.688 kB / 3.982 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/8.03, allocations: 135 kB / 3.982 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/8.03, allocations: 11.09 kB / 3.982 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/8.03, allocations: 31.89 kB / 3.982 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-05/8.03, allocations: 18.69 kB / 3.982 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/8.03, allocations: 11.47 kB / 3.982 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/8.033, allocations: 1.828 MB / 3.983 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/8.034, allocations: 333.8 kB / 3.984 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/8.034, allocations: 30.3 kB / 3.984 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/8.035, allocations: 129.4 kB / 3.984 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/8.035, allocations: 64.2 kB / 3.984 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/8.035, allocations: 44.97 kB / 3.984 GB, free: 167.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001821/8.037, allocations: 0.8721 MB / 3.985 GB, free: 167.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/8.037, allocations: 0 / 3.985 GB, free: 167.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002045/8.039, allocations: 445.3 kB / 3.985 GB, free: 167.1 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) * Number of clocked states: 0 () * 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.005798/8.045, allocations: 6.066 MB / 3.991 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002852/8.048, allocations: 1.059 MB / 3.992 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/8.048, allocations: 2.594 kB / 3.992 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/8.049, allocations: 0.5293 MB / 3.993 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/8.052, allocations: 0.5231 MB / 3.993 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/8.066, allocations: 9.068 MB / 4.002 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/8.067, allocations: 1.089 MB / 4.003 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001518/8.069, allocations: 287.3 kB / 4.004 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/8.069, allocations: 367.4 kB / 4.004 GB, free: 157.9 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/8.069, allocations: 0 / 4.004 GB, free: 157.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09183/8.161, allocations: 51.75 MB / 4.054 GB, free: 157.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/8.161, allocations: 248.6 kB / 4.055 GB, free: 156.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/11.69, allocations: 2.516 kB / 4.055 GB, free: 156.8 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)