Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.537/1.537, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.001197/0.001197, allocations: 184.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009097/0.0009097, allocations: 82.55 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.701e-05, allocations: 4 kB / 0.788 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2665, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8998/1.166, allocations: 136 MB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/1.167, allocations: 94.5 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02039/1.187, allocations: 6.884 MB / 1.032 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.385e-06/1.187, allocations: 4 kB / 1.032 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.942e-05/1.187, allocations: 11.94 kB / 1.032 GB, free: 8.707 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000972/1.188, allocations: 0.724 MB / 1.032 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.188, allocations: 12.03 kB / 1.032 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.53e-05/1.188, allocations: 47.92 kB / 1.032 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/1.188, allocations: 39.48 kB / 1.032 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/1.189, allocations: 307.6 kB / 1.033 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.189, allocations: 15.03 kB / 1.033 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/1.189, allocations: 15.31 kB / 1.033 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/1.189, allocations: 255.2 kB / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.189, allocations: 0 / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/1.189, allocations: 11.5 kB / 1.033 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.189, allocations: 4 kB / 1.033 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/1.19, allocations: 209.5 kB / 1.033 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/1.191, allocations: 0.7375 MB / 1.034 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/1.191, allocations: 198.1 kB / 1.034 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/1.192, allocations: 155.5 kB / 1.034 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/1.192, allocations: 0 / 1.034 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/1.192, allocations: 46.42 kB / 1.034 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/1.192, allocations: 0 / 1.034 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0006465/1.192, allocations: 437.2 kB / 1.035 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/1.192, allocations: 147.9 kB / 1.035 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/1.193, allocations: 338.7 kB / 1.035 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/1.193, allocations: 28.58 kB / 1.035 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.193, allocations: 162.7 kB / 1.035 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/1.193, allocations: 53.3 kB / 1.035 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/1.193, allocations: 0 / 1.035 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.193, allocations: 340.6 kB / 1.036 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/1.194, allocations: 203 kB / 1.036 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/1.194, allocations: 195.2 kB / 1.036 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/1.194, allocations: 365.7 kB / 1.036 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.194, allocations: 0 / 1.036 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007326/1.195, allocations: 0.6459 MB / 1.037 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.195, allocations: 181.6 kB / 1.037 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.195, allocations: 4 kB / 1.037 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.195, allocations: 4 kB / 1.037 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/1.195, allocations: 43.7 kB / 1.037 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.195, allocations: 0 / 1.037 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/1.196, allocations: 55.67 kB / 1.037 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/1.196, allocations: 15.5 kB / 1.037 GB, free: 3.418 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0001638/1.196, allocations: 197.8 kB / 1.038 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/1.196, allocations: 31.62 kB / 1.038 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/1.196, allocations: 29.25 kB / 1.038 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/1.196, allocations: 4 kB / 1.038 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.196, allocations: 0 / 1.038 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.196, allocations: 4 kB / 1.038 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/1.196, allocations: 347.5 kB / 1.038 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.196, allocations: 0 / 1.038 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/1.196, allocations: 39.91 kB / 1.038 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.196, allocations: 0 / 1.038 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/1.196, allocations: 7.562 kB / 1.038 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/1.197, allocations: 7.984 kB / 1.038 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.197, allocations: 4 kB / 1.038 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/1.197, allocations: 0.5501 MB / 1.038 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/1.197, allocations: 115.9 kB / 1.039 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/1.197, allocations: 7.5 kB / 1.039 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.198, allocations: 35.97 kB / 1.039 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.198, allocations: 26.66 kB / 1.039 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/1.198, allocations: 7.562 kB / 1.039 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002783/1.198, allocations: 265.1 kB / 1.039 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.553e-06/1.198, allocations: 0 / 1.039 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005146/1.199, allocations: 130.1 kB / 1.039 GB, free: 1.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.001374/1.2, allocations: 1.273 MB / 1.04 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00079/1.201, allocations: 0.7635 MB / 1.041 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.201, allocations: 4 kB / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003322/1.201, allocations: 341 kB / 1.041 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/1.201, allocations: 62.36 kB / 1.041 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.203, allocations: 0.5969 MB / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/1.203, allocations: 0.7979 MB / 1.043 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 9.397e-05/1.203, allocations: 22.08 kB / 1.043 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.203, allocations: 86.09 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of SimCode: time 8.82e-07/1.203, allocations: 0 / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/1.227, allocations: 9.9 MB / 1.053 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/1.227, allocations: 195.8 kB / 1.053 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.493, allocations: 0 / 1.053 GB, free: 4.238 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)