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.711/1.711, allocations: 289.9 MB / 297.4 MB, free: 6.445 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.001287/0.001287, allocations: 176.8 kB / 366.7 MB, free: 1.691 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.874/1.874, allocations: 205.3 MB / 0.626 GB, free: 7.145 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.0008267/0.0008267, allocations: 90.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.944e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8721/0.8721, allocations: 116.3 MB / 0.9734 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/1.091, allocations: 142.6 MB / 1.113 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.092, allocations: 97.73 kB / 1.113 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02121/1.113, allocations: 6.814 MB / 1.119 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.934e-06/1.113, allocations: 5.969 kB / 1.119 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.07e-05/1.113, allocations: 8 kB / 1.119 GB, free: 0.6094 MB / 0.7136 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.001253/1.114, allocations: 0.7346 MB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/1.114, allocations: 8.031 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/1.115, allocations: 31.62 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/1.115, allocations: 315.5 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/1.115, allocations: 11.98 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/1.115, allocations: 8 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00036/1.116, allocations: 189.5 kB / 1.121 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/1.116, allocations: 242.4 kB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.116, allocations: 0 / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/1.116, allocations: 0 / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/1.116, allocations: 11.98 kB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.118, allocations: 0.6881 MB / 1.122 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/1.118, allocations: 190.7 kB / 1.122 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/1.118, allocations: 146.8 kB / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/1.118, allocations: 4 kB / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.118, allocations: 38.56 kB / 1.122 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/1.118, allocations: 0 / 1.122 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000697/1.119, allocations: 341.1 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.119, allocations: 136.5 kB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/1.119, allocations: 303.5 kB / 1.123 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/1.12, allocations: 25.7 kB / 1.123 GB, free: 13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/1.12, allocations: 168.2 kB / 1.123 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/1.12, allocations: 51.41 kB / 1.123 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.12, allocations: 0 / 1.123 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.12, allocations: 346.8 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/1.12, allocations: 191.9 kB / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/1.121, allocations: 188 kB / 1.124 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/1.121, allocations: 196.7 kB / 1.124 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.121, allocations: 0 / 1.124 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008244/1.122, allocations: 477.9 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.122, allocations: 183.4 kB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.122, allocations: 4 kB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.122, allocations: 0 / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/1.122, allocations: 43.91 kB / 1.124 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.122, allocations: 0 / 1.124 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/1.123, allocations: 51.72 kB / 1.125 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/1.123, allocations: 15.98 kB / 1.125 GB, free: 11.07 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 () * 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.0001912/1.123, allocations: 198 kB / 1.125 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005779/1.123, allocations: 353.3 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/1.123, allocations: 31.56 kB / 1.125 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/1.124, allocations: 30.14 kB / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.124, allocations: 0 / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.124, allocations: 0 / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.124, allocations: 0 / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/1.124, allocations: 325 kB / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.124, allocations: 0 / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/1.124, allocations: 35.97 kB / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.124, allocations: 0 / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/1.124, allocations: 4 kB / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.124, allocations: 0 / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/1.124, allocations: 6.25 kB / 1.125 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/1.125, allocations: 469.1 kB / 1.126 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/1.125, allocations: 104.8 kB / 1.126 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/1.125, allocations: 7.984 kB / 1.126 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/1.125, allocations: 39.97 kB / 1.126 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.125, allocations: 31.91 kB / 1.126 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/1.125, allocations: 4 kB / 1.126 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000282/1.126, allocations: 240.6 kB / 1.126 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-07/1.126, allocations: 0 / 1.126 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005676/1.126, allocations: 115.8 kB / 1.126 GB, free: 9.012 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) * 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.001507/1.128, allocations: 1.156 MB / 1.128 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008509/1.129, allocations: 0.7502 MB / 1.128 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.129, allocations: 0 / 1.128 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/1.129, allocations: 338.1 kB / 1.129 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/1.13, allocations: 62.88 kB / 1.129 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.131, allocations: 0.5815 MB / 1.129 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/1.131, allocations: 0.7945 MB / 1.13 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001077/1.131, allocations: 25.8 kB / 1.13 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/1.132, allocations: 83.41 kB / 1.13 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of SimCode: time 7.42e-07/1.132, allocations: 0 / 1.13 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/1.17, allocations: 7.881 MB / 1.138 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/1.17, allocations: 177.9 kB / 1.138 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/3.389, allocations: 7.281 kB / 1.138 GB, free: 13.14 MB / 0.7448 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)