Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_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.001128/0.001128, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 190.9 kB / 16.67 MB, free: 6.543 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.312/1.312, 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/IDEAS 3.0.0-master/package.mo): time 0.9624/0.9624, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 63.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4455, allocations: 80.9 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002923/0.4485, allocations: 2.101 MB / 0.6662 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4501, allocations: 1.172 MB / 0.6673 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.4502, allocations: 3.844 kB / 0.6674 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.4506, allocations: 112.6 kB / 0.6675 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.4507, allocations: 55.84 kB / 0.6675 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.4514, allocations: 252.2 kB / 0.6678 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.4517, allocations: 329.5 kB / 0.6681 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4519, allocations: 101.5 kB / 0.6682 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.452, allocations: 101 kB / 0.6683 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.4521, allocations: 128.3 kB / 0.6684 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.4522, allocations: 33.22 kB / 0.6684 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.4525, allocations: 230 kB / 0.6686 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.4526, allocations: 91.39 kB / 0.6687 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4527, allocations: 148.8 kB / 0.6689 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.4532, allocations: 0.553 MB / 0.6694 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4532, allocations: 4 kB / 0.6694 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4532, allocations: 1.281 kB / 0.6694 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.4533, allocations: 0 / 0.6694 GB, free: 3.332 MB / 0.4981 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.001013/0.4543, allocations: 0.8193 MB / 0.6702 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4543, allocations: 8.812 kB / 0.6702 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.4544, allocations: 57.83 kB / 0.6703 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.4544, allocations: 38.08 kB / 0.6703 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.4548, allocations: 326 kB / 0.6706 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4548, allocations: 15.22 kB / 0.6706 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.4548, allocations: 16.62 kB / 0.6706 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.4554, allocations: 292.8 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4554, allocations: 1.5 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.4555, allocations: 10.66 kB / 0.6709 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4555, allocations: 3.906 kB / 0.6709 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.4561, allocations: 264.9 kB / 0.6712 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.4569, allocations: 0.669 MB / 0.6718 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.4574, allocations: 224.1 kB / 0.6721 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.4578, allocations: 193.8 kB / 0.6722 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4578, allocations: 2.281 kB / 0.6722 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4578, allocations: 35.75 kB / 0.6723 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.4579, allocations: 0 / 0.6723 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001253/0.4591, allocations: 0.6741 MB / 0.6729 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4592, allocations: 141.4 kB / 0.6731 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.4595, allocations: 388.2 kB / 0.6734 GB, free: 276 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4596, allocations: 32.77 kB / 0.6735 GB, free: 240 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.4597, allocations: 163.9 kB / 0.6736 GB, free: 88 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.4597, allocations: 46.89 kB / 0.6737 GB, free: 48 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.4598, allocations: 46.45 kB / 0.6737 GB, free: 16 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4599, allocations: 346.2 kB / 0.6741 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.4604, allocations: 231.6 kB / 0.6743 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.4608, allocations: 245.9 kB / 0.6745 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.4618, allocations: 0.681 MB / 0.6752 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4618, allocations: 0 / 0.6752 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001078/0.4629, allocations: 0.7284 MB / 0.6759 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.463, allocations: 183 kB / 0.6761 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.463, allocations: 1.344 kB / 0.6761 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.463, allocations: 0 / 0.6761 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.4632, allocations: 31.53 kB / 0.6761 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4632, allocations: 1.031 kB / 0.6761 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.4634, allocations: 52.2 kB / 0.6761 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.4634, allocations: 7.062 kB / 0.6761 GB, free: 14.29 MB / 0.5137 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.0002314/0.4637, allocations: 259.3 kB / 0.6764 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.4638, allocations: 30.47 kB / 0.6764 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.4638, allocations: 32.56 kB / 0.6765 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4638, allocations: 1.125 kB / 0.6765 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.4638, allocations: 5.422 kB / 0.6765 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4638, allocations: 7.938 kB / 0.6765 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.4642, allocations: 347.7 kB / 0.6768 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4642, allocations: 0 / 0.6768 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.4644, allocations: 31.66 kB / 0.6768 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4644, allocations: 3.984 kB / 0.6768 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4644, allocations: 4 kB / 0.6768 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4644, allocations: 1.281 kB / 0.6768 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4644, allocations: 0 / 0.6768 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.4654, allocations: 0.6363 MB / 0.6775 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.777e-05/0.4655, allocations: 110.8 kB / 0.6776 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.4656, allocations: 8.25 kB / 0.6776 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.4658, allocations: 28.78 kB / 0.6776 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4659, allocations: 24.56 kB / 0.6776 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4659, allocations: 13.19 kB / 0.6776 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002952/0.4662, allocations: 274.3 kB / 0.6779 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4663, allocations: 0 / 0.6779 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004712/0.4667, allocations: 105.5 kB / 0.678 GB, free: 12.87 MB / 0.5137 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.001514/0.4683, allocations: 1.22 MB / 0.6792 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.4694, allocations: 0.833 MB / 0.68 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4694, allocations: 3.938 kB / 0.68 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.4699, allocations: 376.2 kB / 0.6804 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.4704, allocations: 81.38 kB / 0.6804 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.4764, allocations: 4.426 MB / 0.6848 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.477, allocations: 0.7837 MB / 0.6855 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.4771, allocations: 27.22 kB / 0.6856 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.4773, allocations: 90.69 kB / 0.6856 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.4773, allocations: 0 / 0.6856 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.5035, allocations: 8.711 MB / 0.6942 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.889, allocations: 12.66 kB / 0.6942 GB, free: 2.289 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)