Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001236/0.001237, allocations: 191.4 kB / 377.1 MB, free: 1.508 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.736/1.736, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.001037/0.001036, allocations: 95.67 kB / 0.7509 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003987, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3277, allocations: 116.3 MB / 0.9884 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8639/1.192, allocations: 143.4 MB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.192, allocations: 104.3 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01983/1.212, allocations: 6.898 MB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/1.212, allocations: 0 / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.655e-05/1.212, allocations: 8 kB / 1.135 GB, free: 27.45 MB / 0.7292 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.001034/1.213, allocations: 0.7802 MB / 1.136 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.213, allocations: 12.03 kB / 1.136 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/1.213, allocations: 54.91 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/1.213, allocations: 39.5 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/1.214, allocations: 304 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.214, allocations: 24.41 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/1.214, allocations: 16 kB / 1.136 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/1.214, allocations: 311.5 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.214, allocations: 0.5156 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/1.214, allocations: 4 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.214, allocations: 8.5 kB / 1.137 GB, free: 25.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00068/1.215, allocations: 306.8 kB / 1.137 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/1.216, allocations: 0.7364 MB / 1.138 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/1.217, allocations: 250 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/1.217, allocations: 4 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.217, allocations: 39.27 kB / 1.138 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/1.217, allocations: 0 / 1.138 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.001472/1.218, allocations: 0.9488 MB / 1.139 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/1.218, allocations: 137.8 kB / 1.139 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/1.219, allocations: 344.7 kB / 1.139 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/1.219, allocations: 30.27 kB / 1.139 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.219, allocations: 166.7 kB / 1.14 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/1.219, allocations: 42.97 kB / 1.14 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.219, allocations: 8 kB / 1.14 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.219, allocations: 344.1 kB / 1.14 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/1.22, allocations: 254.4 kB / 1.14 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/1.22, allocations: 249.5 kB / 1.141 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/1.221, allocations: 415.5 kB / 1.141 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.221, allocations: 0 / 1.141 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001075/1.222, allocations: 0.7533 MB / 1.142 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.545e-05/1.222, allocations: 177.4 kB / 1.142 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.222, allocations: 0 / 1.142 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.222, allocations: 4 kB / 1.142 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/1.222, allocations: 40.77 kB / 1.142 GB, free: 21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/1.222, allocations: 4.562 kB / 1.142 GB, free: 20.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/1.222, allocations: 50.06 kB / 1.142 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/1.222, allocations: 16.94 kB / 1.142 GB, free: 20.94 MB / 0.7292 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 () * Number of clocked 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.0002078/1.223, allocations: 265 kB / 1.142 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/1.223, allocations: 28.61 kB / 1.142 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/1.223, allocations: 26.14 kB / 1.142 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.223, allocations: 5.359 kB / 1.142 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.223, allocations: 0 / 1.142 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.223, allocations: 0.9375 kB / 1.142 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/1.223, allocations: 353.6 kB / 1.143 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.223, allocations: 0 / 1.143 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/1.223, allocations: 40.72 kB / 1.143 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.223, allocations: 0 / 1.143 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/1.223, allocations: 9.359 kB / 1.143 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.223, allocations: 4 kB / 1.143 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.223, allocations: 0 / 1.143 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000956/1.224, allocations: 0.6583 MB / 1.143 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/1.224, allocations: 106.8 kB / 1.143 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/1.224, allocations: 4.703 kB / 1.143 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/1.225, allocations: 46.66 kB / 1.143 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.225, allocations: 29.42 kB / 1.143 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/1.225, allocations: 7.984 kB / 1.143 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002752/1.225, allocations: 269 kB / 1.144 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.225, allocations: 0 / 1.144 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005933/1.226, allocations: 122.8 kB / 1.144 GB, free: 19.08 MB / 0.7292 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) * Number of clocked states: 0 () * 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.001578/1.227, allocations: 1.379 MB / 1.145 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.229, allocations: 0.8555 MB / 1.146 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.229, allocations: 4 kB / 1.146 GB, free: 16.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/1.229, allocations: 392 kB / 1.146 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/1.229, allocations: 65.75 kB / 1.146 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/1.231, allocations: 1.014 MB / 1.147 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/1.231, allocations: 0.7933 MB / 1.148 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.845e-05/1.232, allocations: 23.17 kB / 1.148 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/1.232, allocations: 87.55 kB / 1.148 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/1.232, allocations: 0 / 1.148 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/1.257, allocations: 9.62 MB / 1.158 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.258, allocations: 215.5 kB / 1.158 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.625, allocations: 0 / 1.158 GB, free: 8.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)