Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.531/2.531, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001493/0.001493, allocations: 176.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001104/0.001104, allocations: 90.81 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.861e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8222, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/1.063, allocations: 141.5 MB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/1.063, allocations: 95.94 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03289/1.096, allocations: 6.81 MB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.87e-06/1.096, allocations: 0 / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.415e-05/1.096, allocations: 7.938 kB / 1.108 GB, free: 8.203 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.001493/1.098, allocations: 0.7462 MB / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.098, allocations: 8.031 kB / 1.109 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/1.098, allocations: 39.19 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/1.099, allocations: 311.8 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/1.099, allocations: 8 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/1.099, allocations: 12 kB / 1.109 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005234/1.099, allocations: 189.5 kB / 1.11 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/1.1, allocations: 230.7 kB / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.1, allocations: 0 / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/1.1, allocations: 0 / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/1.1, allocations: 7.984 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/1.102, allocations: 0.6881 MB / 1.111 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/1.102, allocations: 194.6 kB / 1.111 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/1.103, allocations: 148.8 kB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/1.103, allocations: 4 kB / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.103, allocations: 30.56 kB / 1.111 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 3.947e-06/1.103, allocations: 0 / 1.111 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.001008/1.104, allocations: 341.2 kB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.104, allocations: 140.5 kB / 1.111 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/1.105, allocations: 301.1 kB / 1.112 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/1.105, allocations: 25.7 kB / 1.112 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.105, allocations: 168.2 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/1.105, allocations: 43.42 kB / 1.112 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/1.105, allocations: 4 kB / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.105, allocations: 342.8 kB / 1.112 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/1.106, allocations: 195.9 kB / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/1.106, allocations: 195.9 kB / 1.113 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/1.107, allocations: 194.5 kB / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.107, allocations: 0 / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00126/1.108, allocations: 477.8 kB / 1.113 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/1.108, allocations: 180.4 kB / 1.113 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.108, allocations: 6.094 kB / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.108, allocations: 3.984 kB / 1.113 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/1.109, allocations: 43.97 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/1.109, allocations: 0 / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/1.109, allocations: 47.72 kB / 1.113 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/1.109, allocations: 12 kB / 1.113 GB, free: 2.66 MB / 0.7136 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.0002434/1.109, allocations: 215.6 kB / 1.114 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009556/1.11, allocations: 358.9 kB / 1.114 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/1.11, allocations: 31.62 kB / 1.114 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/1.111, allocations: 27.36 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.111, allocations: 0 / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.111, allocations: 0 / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.111, allocations: 0 / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/1.111, allocations: 313.9 kB / 1.114 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.111, allocations: 4 kB / 1.114 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/1.111, allocations: 35.97 kB / 1.114 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.111, allocations: 3.938 kB / 1.114 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/1.112, allocations: 7.984 kB / 1.114 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.924e-06/1.112, allocations: 7.312 kB / 1.114 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.112, allocations: 0 / 1.114 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/1.113, allocations: 465.1 kB / 1.115 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.113, allocations: 104.8 kB / 1.115 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/1.113, allocations: 5.969 kB / 1.115 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/1.113, allocations: 35.95 kB / 1.115 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.113, allocations: 27.97 kB / 1.115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/1.113, allocations: 12 kB / 1.115 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004024/1.114, allocations: 236.6 kB / 1.115 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.114, allocations: 0 / 1.115 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007164/1.115, allocations: 123.8 kB / 1.115 GB, free: 0.5938 MB / 0.7136 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.002016/1.117, allocations: 1.151 MB / 1.117 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001278/1.118, allocations: 0.7502 MB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.118, allocations: 0 / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/1.119, allocations: 334.2 kB / 1.118 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/1.119, allocations: 57.28 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/1.121, allocations: 0.5883 MB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/1.122, allocations: 0.7946 MB / 1.119 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001833/1.122, allocations: 25.84 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.122, allocations: 87.34 kB / 1.119 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.173e-06/1.122, allocations: 3.938 kB / 1.119 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/1.176, allocations: 7.886 MB / 1.127 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/1.177, allocations: 181.5 kB / 1.127 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.879, allocations: 0 / 1.127 GB, free: 4.734 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)