Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00478/0.00478, allocations: 97.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 199.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002049, allocations: 271.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.899/0.899, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 99.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1422, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003137/0.1454, allocations: 2.08 MB / 0.7679 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1473, allocations: 1.177 MB / 0.7691 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1474, allocations: 4 kB / 0.7691 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.1478, allocations: 107.6 kB / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.148, allocations: 51.59 kB / 0.7693 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.1486, allocations: 259.4 kB / 0.7695 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.149, allocations: 323.2 kB / 0.7698 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1492, allocations: 98.8 kB / 0.7699 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1493, allocations: 107.6 kB / 0.77 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1494, allocations: 123.5 kB / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.1495, allocations: 28 kB / 0.7701 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.1499, allocations: 235.6 kB / 0.7704 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.15, allocations: 95.72 kB / 0.7705 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1501, allocations: 151.1 kB / 0.7706 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.1507, allocations: 0.5566 MB / 0.7712 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1507, allocations: 0 / 0.7712 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1507, allocations: 0 / 0.7712 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.1507, allocations: 4 kB / 0.7712 GB, free: 3.539 MB / 0.5606 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.0011/0.1518, allocations: 0.8161 MB / 0.772 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1519, allocations: 12.03 kB / 0.772 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.1519, allocations: 50.67 kB / 0.772 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.152, allocations: 36.75 kB / 0.772 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.1524, allocations: 328.5 kB / 0.7724 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1524, allocations: 20.66 kB / 0.7724 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1524, allocations: 16.38 kB / 0.7724 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.153, allocations: 295.7 kB / 0.7727 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.153, allocations: 4 kB / 0.7727 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1531, allocations: 7.938 kB / 0.7727 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1531, allocations: 4 kB / 0.7727 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.1537, allocations: 272.4 kB / 0.773 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.1546, allocations: 0.6681 MB / 0.7736 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.1551, allocations: 222.6 kB / 0.7738 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.1555, allocations: 192.7 kB / 0.774 GB, free: 432 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1555, allocations: 4 kB / 0.774 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1555, allocations: 34.56 kB / 0.774 GB, free: 384 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1555, allocations: 0 / 0.774 GB, free: 384 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.2746/0.4301, allocations: 0.6677 MB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.4302, allocations: 137.8 kB / 0.7748 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.4306, allocations: 382.1 kB / 0.7752 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4306, allocations: 28.92 kB / 0.7752 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.4307, allocations: 172.7 kB / 0.7754 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.4308, allocations: 42.38 kB / 0.7754 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.4308, allocations: 49.41 kB / 0.7755 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.4309, allocations: 342.4 kB / 0.7758 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.4313, allocations: 239 kB / 0.776 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.4317, allocations: 236.3 kB / 0.7762 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.4326, allocations: 0.6797 MB / 0.7769 GB, free: 14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4326, allocations: 0 / 0.7769 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009918/0.4336, allocations: 0.7367 MB / 0.7776 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.4337, allocations: 184.5 kB / 0.7778 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4337, allocations: 0.8438 kB / 0.7778 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4337, allocations: 1.156 kB / 0.7778 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4339, allocations: 30.56 kB / 0.7778 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4339, allocations: 0.8438 kB / 0.7778 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.4341, allocations: 45.59 kB / 0.7779 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.4341, allocations: 8.438 kB / 0.7779 GB, free: 13.49 MB / 0.5606 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.4343, allocations: 261.4 kB / 0.7781 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.4344, allocations: 33.97 kB / 0.7782 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.4344, allocations: 30.62 kB / 0.7782 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.4344, allocations: 1.406 kB / 0.7782 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4344, allocations: 3.281 kB / 0.7782 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4344, allocations: 2.516 kB / 0.7782 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.4347, allocations: 353.8 kB / 0.7785 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4347, allocations: 1.031 kB / 0.7785 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.4349, allocations: 31.64 kB / 0.7786 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4349, allocations: 1.031 kB / 0.7786 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4349, allocations: 5.734 kB / 0.7786 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4349, allocations: 0.9375 kB / 0.7786 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4349, allocations: 2.75 kB / 0.7786 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.4358, allocations: 0.6211 MB / 0.7792 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.4359, allocations: 115.3 kB / 0.7793 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.4359, allocations: 5.344 kB / 0.7793 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.4361, allocations: 31.77 kB / 0.7793 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4362, allocations: 28.52 kB / 0.7794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4363, allocations: 6.094 kB / 0.7794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002467/0.4365, allocations: 278.9 kB / 0.7796 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4365, allocations: 0 / 0.7796 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000389/0.4369, allocations: 105.6 kB / 0.7797 GB, free: 12.33 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.4381, allocations: 1.223 MB / 0.7809 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009869/0.4391, allocations: 0.8353 MB / 0.7817 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4391, allocations: 0 / 0.7817 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.4395, allocations: 377.2 kB / 0.7821 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.4399, allocations: 68.7 kB / 0.7822 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.4445, allocations: 4.439 MB / 0.7865 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.4446, allocations: 0.782 MB / 0.7873 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.463e-05/0.4447, allocations: 25.31 kB / 0.7873 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.4448, allocations: 90.84 kB / 0.7874 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.4448, allocations: 0 / 0.7874 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.4716, allocations: 8.751 MB / 0.7959 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.03, allocations: 5.375 kB / 0.7959 GB, free: 6.789 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)