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.429/1.429, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 183.9 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.00101/0.00101, allocations: 96.84 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 11.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.4167, allocations: 136.1 MB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.417, allocations: 91.94 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0207/0.4377, allocations: 6.899 MB / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4378, allocations: 0 / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.4378, allocations: 4 kB / 1.04 GB, free: 0.5547 MB / 0.6823 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.001308/0.4391, allocations: 0.7894 MB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.4392, allocations: 8.031 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.4393, allocations: 62.47 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.77e-05/0.4394, allocations: 35.58 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.4399, allocations: 318.9 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4399, allocations: 12.28 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.44, allocations: 24 kB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.4406, allocations: 302.9 kB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4407, allocations: 0 / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4407, allocations: 12 kB / 1.041 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4407, allocations: 4 kB / 1.041 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.4414, allocations: 308.3 kB / 1.042 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.4427, allocations: 0.731 MB / 1.042 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.4433, allocations: 254.6 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4433, allocations: 0 / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4434, allocations: 38.56 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.4434, allocations: 0 / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001507/0.4449, allocations: 0.9481 MB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.445, allocations: 132.5 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.4454, allocations: 347.6 kB / 1.044 GB, free: 11.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4455, allocations: 25.7 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4456, allocations: 168.4 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.4457, allocations: 47.3 kB / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.4457, allocations: 8 kB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4459, allocations: 342.8 kB / 1.045 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.4463, allocations: 247.8 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.4468, allocations: 250.9 kB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.4473, allocations: 414.1 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4473, allocations: 0 / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001157/0.4485, allocations: 0.7491 MB / 1.046 GB, free: 9.617 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.4486, allocations: 186.2 kB / 1.046 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4487, allocations: 0 / 1.046 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4487, allocations: 0 / 1.046 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.4489, allocations: 39.97 kB / 1.046 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4489, allocations: 0 / 1.046 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.4491, allocations: 55.69 kB / 1.047 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.4492, allocations: 15.95 kB / 1.047 GB, free: 9.289 MB / 0.698 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.000283/0.4495, allocations: 262.9 kB / 1.047 GB, free: 9.004 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.4496, allocations: 31.62 kB / 1.047 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.4497, allocations: 26.94 kB / 1.047 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4497, allocations: 0 / 1.047 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4497, allocations: 0 / 1.047 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4497, allocations: 0 / 1.047 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.4501, allocations: 353.2 kB / 1.047 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4501, allocations: 0 / 1.047 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.4503, allocations: 43.97 kB / 1.047 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4503, allocations: 7.922 kB / 1.047 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.4503, allocations: 4 kB / 1.047 GB, free: 8.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4503, allocations: 3.984 kB / 1.047 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4503, allocations: 0 / 1.047 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4514, allocations: 0.6595 MB / 1.048 GB, free: 7.797 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4515, allocations: 104.7 kB / 1.048 GB, free: 7.676 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.4516, allocations: 11.98 kB / 1.048 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4518, allocations: 43.91 kB / 1.048 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4519, allocations: 23.97 kB / 1.048 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4519, allocations: 4 kB / 1.048 GB, free: 7.594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003253/0.4523, allocations: 279 kB / 1.048 GB, free: 7.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4523, allocations: 0 / 1.048 GB, free: 7.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005496/0.4528, allocations: 119.8 kB / 1.048 GB, free: 7.203 MB / 0.698 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.001909/0.4548, allocations: 1.379 MB / 1.05 GB, free: 5.785 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.456, allocations: 0.8595 MB / 1.051 GB, free: 4.852 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.456, allocations: 7.938 kB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.4565, allocations: 394 kB / 1.051 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.4569, allocations: 61.34 kB / 1.051 GB, free: 4.363 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.4586, allocations: 1.017 MB / 1.052 GB, free: 3.293 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.459, allocations: 0.7948 MB / 1.053 GB, free: 2.473 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.4591, allocations: 25.94 kB / 1.053 GB, free: 2.445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.4593, allocations: 79.41 kB / 1.053 GB, free: 2.367 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.4593, allocations: 0 / 1.053 GB, free: 2.367 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4185/0.8778, allocations: 9.618 MB / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.878, allocations: 229.1 kB / 1.063 GB, free: 148.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.362, allocations: 0 / 1.063 GB, free: 148.3 MB / 0.698 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)