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.757/1.757, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001209/0.00121, allocations: 180.2 kB / 371.6 MB, free: 3.359 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.804/1.804, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009619/0.000962, allocations: 87.69 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.687e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2813, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9328/1.214, allocations: 143.3 MB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004446/1.215, allocations: 94.41 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02024/1.235, allocations: 6.879 MB / 1.127 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.863e-06/1.235, allocations: 0 / 1.127 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.811e-05/1.235, allocations: 8 kB / 1.127 GB, free: 37.71 MB / 0.7448 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.001017/1.236, allocations: 0.7364 MB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.236, allocations: 8.031 kB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/1.236, allocations: 58.11 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/1.236, allocations: 33.34 kB / 1.127 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/1.237, allocations: 312.8 kB / 1.128 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.237, allocations: 11.53 kB / 1.128 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/1.237, allocations: 15.38 kB / 1.128 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/1.237, allocations: 258.9 kB / 1.128 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.237, allocations: 0 / 1.128 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/1.237, allocations: 7.531 kB / 1.128 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.237, allocations: 4 kB / 1.128 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/1.238, allocations: 200.1 kB / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/1.239, allocations: 0.7413 MB / 1.129 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/1.239, allocations: 199 kB / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/1.239, allocations: 152.7 kB / 1.129 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/1.239, allocations: 0 / 1.129 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/1.239, allocations: 35.12 kB / 1.129 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/1.239, allocations: 4 kB / 1.129 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0005663/1.24, allocations: 432.8 kB / 1.13 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.24, allocations: 147.7 kB / 1.13 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/1.24, allocations: 331.4 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.24, allocations: 33.14 kB / 1.13 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/1.241, allocations: 164.5 kB / 1.13 GB, free: 34.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/1.241, allocations: 54.67 kB / 1.13 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/1.241, allocations: 0 / 1.13 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.241, allocations: 344.7 kB / 1.131 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/1.241, allocations: 206.1 kB / 1.131 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/1.241, allocations: 197.9 kB / 1.131 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/1.241, allocations: 366.3 kB / 1.131 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.241, allocations: 0 / 1.131 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006608/1.242, allocations: 0.6483 MB / 1.132 GB, free: 33.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.143e-05/1.242, allocations: 180.9 kB / 1.132 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.242, allocations: 0.7031 kB / 1.132 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.242, allocations: 4 kB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.242, allocations: 39.61 kB / 1.132 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.243, allocations: 4 kB / 1.132 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/1.243, allocations: 46.53 kB / 1.132 GB, free: 32.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/1.243, allocations: 19.88 kB / 1.132 GB, free: 32.96 MB / 0.7448 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.0001282/1.243, allocations: 205.4 kB / 1.133 GB, free: 32.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/1.243, allocations: 32.84 kB / 1.133 GB, free: 32.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/1.243, allocations: 26.92 kB / 1.133 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.243, allocations: 1.062 kB / 1.133 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.243, allocations: 4 kB / 1.133 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.243, allocations: 3.469 kB / 1.133 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/1.243, allocations: 343.3 kB / 1.133 GB, free: 32.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.243, allocations: 3.516 kB / 1.133 GB, free: 32.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/1.244, allocations: 42.97 kB / 1.133 GB, free: 32.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.244, allocations: 3.938 kB / 1.133 GB, free: 32.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/1.244, allocations: 8.5 kB / 1.133 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.244, allocations: 4.781 kB / 1.133 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.244, allocations: 0 / 1.133 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/1.244, allocations: 0.5451 MB / 1.134 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/1.244, allocations: 117.2 kB / 1.134 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/1.244, allocations: 7.875 kB / 1.134 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/1.245, allocations: 34.61 kB / 1.134 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.245, allocations: 26.33 kB / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.245, allocations: 8 kB / 1.134 GB, free: 31.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002641/1.245, allocations: 271.4 kB / 1.134 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.245, allocations: 0 / 1.134 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005779/1.246, allocations: 119.3 kB / 1.134 GB, free: 31.49 MB / 0.7448 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.001219/1.247, allocations: 1.287 MB / 1.135 GB, free: 30.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007078/1.248, allocations: 0.7644 MB / 1.136 GB, free: 29.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.248, allocations: 0 / 1.136 GB, free: 29.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/1.248, allocations: 337.6 kB / 1.136 GB, free: 29.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/1.248, allocations: 65.42 kB / 1.137 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/1.25, allocations: 0.5994 MB / 1.137 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/1.25, allocations: 0.7898 MB / 1.138 GB, free: 28.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.2e-05/1.25, allocations: 25.5 kB / 1.138 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/1.25, allocations: 84.69 kB / 1.138 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.25, allocations: 0 / 1.138 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/1.276, allocations: 9.889 MB / 1.148 GB, free: 22.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.276, allocations: 193.2 kB / 1.148 GB, free: 22.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.663, allocations: 0 / 1.148 GB, free: 22.24 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)