Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_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.001265/0.001265, allocations: 108 kB / 15.6 MB, free: 132 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.00127/0.00127, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7257/0.7257, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.58 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3498, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002989/0.3528, allocations: 2.076 MB / 0.5822 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3544, allocations: 1.175 MB / 0.5834 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.3545, allocations: 6.656 kB / 0.5834 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.3548, allocations: 115.1 kB / 0.5835 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.642e-05/0.3549, allocations: 49.48 kB / 0.5835 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.3556, allocations: 253.6 kB / 0.5838 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.3559, allocations: 322.3 kB / 0.5841 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.356, allocations: 99.22 kB / 0.5842 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.3561, allocations: 104.8 kB / 0.5843 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3563, allocations: 128.1 kB / 0.5844 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.3564, allocations: 33.47 kB / 0.5844 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.3567, allocations: 221.8 kB / 0.5847 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.3568, allocations: 91.22 kB / 0.5847 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3569, allocations: 153.3 kB / 0.5849 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.3576, allocations: 0.5497 MB / 0.5854 GB, free: 1.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3576, allocations: 0.6094 kB / 0.5854 GB, free: 1.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3576, allocations: 4.562 kB / 0.5854 GB, free: 1.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3576, allocations: 0 / 0.5854 GB, free: 1.375 MB / 430.1 MB 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.0009867/0.3586, allocations: 0.8054 MB / 0.5862 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3586, allocations: 8.75 kB / 0.5862 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.3587, allocations: 49.14 kB / 0.5863 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.3588, allocations: 33.47 kB / 0.5863 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3591, allocations: 324.1 kB / 0.5866 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3591, allocations: 16.66 kB / 0.5866 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.3591, allocations: 22.05 kB / 0.5867 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.3597, allocations: 287.7 kB / 0.5869 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3597, allocations: 0.5938 kB / 0.5869 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.3598, allocations: 6.719 kB / 0.5869 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3598, allocations: 4.391 kB / 0.5869 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006588/0.3604, allocations: 276.7 kB / 0.5872 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.3614, allocations: 0.678 MB / 0.5879 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.3619, allocations: 238 kB / 0.5881 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.3624, allocations: 189 kB / 0.5883 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3624, allocations: 1.375 kB / 0.5883 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3624, allocations: 33.23 kB / 0.5883 GB, free: 15.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.745e-06/0.3624, allocations: 7.984 kB / 0.5883 GB, free: 15.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001374/0.3638, allocations: 0.6635 MB / 0.589 GB, free: 15.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.3639, allocations: 143.2 kB / 0.5891 GB, free: 15.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.3643, allocations: 380.9 kB / 0.5895 GB, free: 14.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3643, allocations: 28.45 kB / 0.5895 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3645, allocations: 166 kB / 0.5896 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.3645, allocations: 45.92 kB / 0.5897 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.3646, allocations: 51.83 kB / 0.5897 GB, free: 14.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3647, allocations: 344 kB / 0.5901 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.3652, allocations: 241.6 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.3657, allocations: 240.3 kB / 0.5905 GB, free: 14.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.3666, allocations: 0.6774 MB / 0.5912 GB, free: 13.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3667, allocations: 0 / 0.5912 GB, free: 13.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001125/0.3678, allocations: 0.7339 MB / 0.5919 GB, free: 13.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.3679, allocations: 184.2 kB / 0.5921 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3679, allocations: 0 / 0.5921 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3679, allocations: 5.172 kB / 0.5921 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.3681, allocations: 35.2 kB / 0.5921 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3681, allocations: 1.703 kB / 0.5921 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.3683, allocations: 46.02 kB / 0.5922 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.3684, allocations: 11.02 kB / 0.5922 GB, free: 13.11 MB / 446.1 MB 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.0002022/0.3686, allocations: 256.6 kB / 0.5924 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.3687, allocations: 34.31 kB / 0.5925 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.3687, allocations: 28.16 kB / 0.5925 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3687, allocations: 5.703 kB / 0.5925 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3687, allocations: 1.094 kB / 0.5925 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3687, allocations: 0.6562 kB / 0.5925 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.3691, allocations: 346.4 kB / 0.5928 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3691, allocations: 0.5156 kB / 0.5928 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3693, allocations: 30.67 kB / 0.5928 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3693, allocations: 1.859 kB / 0.5928 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.3693, allocations: 8.406 kB / 0.5929 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3693, allocations: 0.5156 kB / 0.5929 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3693, allocations: 1.344 kB / 0.5929 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.3702, allocations: 0.623 MB / 0.5935 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.3703, allocations: 108.6 kB / 0.5936 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.3704, allocations: 7.719 kB / 0.5936 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3706, allocations: 28.7 kB / 0.5936 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.3707, allocations: 30.42 kB / 0.5936 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3707, allocations: 9.094 kB / 0.5936 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.371, allocations: 275.6 kB / 0.5939 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.371, allocations: 0 / 0.5939 GB, free: 11.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.3714, allocations: 116.5 kB / 0.594 GB, free: 11.92 MB / 446.1 MB 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.001337/0.3728, allocations: 1.203 MB / 0.5952 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3739, allocations: 0.8426 MB / 0.596 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3739, allocations: 0 / 0.596 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.3744, allocations: 379.3 kB / 0.5964 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3748, allocations: 70.11 kB / 0.5964 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.3802, allocations: 4.421 MB / 0.6008 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3805, allocations: 0.7855 MB / 0.6015 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.12e-05/0.3806, allocations: 22.55 kB / 0.6015 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3807, allocations: 91.09 kB / 0.6016 GB, free: 6.551 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3807, allocations: 0 / 0.6016 GB, free: 6.551 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.4046, allocations: 8.651 MB / 0.6101 GB, free: 2.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.793, allocations: 15.77 kB / 0.6101 GB, free: 2.316 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)