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.006141/0.006141, allocations: 97.38 kB / 15.73 MB, free: 6.035 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.00173/0.00173, allocations: 201.1 kB / 16.68 MB, free: 5.961 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7531/0.7531, allocations: 132.2 MB / 422.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.45 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1485, allocations: 80.22 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003276/0.1518, allocations: 2.073 MB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1535, allocations: 1.185 MB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.1536, allocations: 4 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.154, allocations: 123.6 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1541, allocations: 51.52 kB / 0.6626 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.1548, allocations: 255.5 kB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.1551, allocations: 311.3 kB / 0.6631 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1553, allocations: 95.03 kB / 0.6632 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1554, allocations: 115.6 kB / 0.6633 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1555, allocations: 127.5 kB / 0.6634 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.1556, allocations: 28 kB / 0.6635 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.1559, allocations: 223.7 kB / 0.6637 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.156, allocations: 95.66 kB / 0.6638 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1561, allocations: 151.2 kB / 0.6639 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.1567, allocations: 0.5644 MB / 0.6645 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1567, allocations: 0 / 0.6645 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1567, allocations: 0 / 0.6645 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.1567, allocations: 0 / 0.6645 GB, free: 8.609 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.001208/0.158, allocations: 0.8201 MB / 0.6653 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.158, allocations: 8.031 kB / 0.6653 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.1581, allocations: 50.73 kB / 0.6653 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.1582, allocations: 40.64 kB / 0.6654 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.1586, allocations: 320.6 kB / 0.6657 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1587, allocations: 16.41 kB / 0.6657 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.1587, allocations: 19.98 kB / 0.6657 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.1593, allocations: 294.9 kB / 0.666 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1593, allocations: 0 / 0.666 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.1593, allocations: 11.98 kB / 0.666 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1594, allocations: 4 kB / 0.666 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.16, allocations: 264.4 kB / 0.6662 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.161, allocations: 0.6756 MB / 0.6669 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.1615, allocations: 230.6 kB / 0.6671 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.1619, allocations: 188.7 kB / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1619, allocations: 0 / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.162, allocations: 38.5 kB / 0.6673 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.495e-06/0.162, allocations: 3.984 kB / 0.6673 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001289/0.1633, allocations: 0.6721 MB / 0.668 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1634, allocations: 136.5 kB / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.1638, allocations: 384.5 kB / 0.6685 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1638, allocations: 25.7 kB / 0.6685 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1639, allocations: 168.4 kB / 0.6687 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.164, allocations: 43.75 kB / 0.6687 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.1641, allocations: 49.64 kB / 0.6688 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1642, allocations: 342.8 kB / 0.6691 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.1646, allocations: 243.8 kB / 0.6693 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.165, allocations: 239.8 kB / 0.6696 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008631/0.1659, allocations: 0.6718 MB / 0.6702 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1659, allocations: 4 kB / 0.6702 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00103/0.1669, allocations: 0.7372 MB / 0.6709 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.167, allocations: 186.2 kB / 0.6711 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1671, allocations: 0 / 0.6711 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1671, allocations: 0 / 0.6711 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.1673, allocations: 31.97 kB / 0.6712 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1673, allocations: 0 / 0.6712 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.1675, allocations: 51.69 kB / 0.6712 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.1675, allocations: 11.94 kB / 0.6712 GB, free: 1.266 MB / 0.4981 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.0002161/0.1677, allocations: 259.5 kB / 0.6715 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.1678, allocations: 31.81 kB / 0.6715 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.1679, allocations: 34.94 kB / 0.6715 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1679, allocations: 0 / 0.6715 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1679, allocations: 4 kB / 0.6715 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1679, allocations: 3.938 kB / 0.6715 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.1682, allocations: 349.3 kB / 0.6719 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1682, allocations: 0 / 0.6719 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1684, allocations: 27.97 kB / 0.6719 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1684, allocations: 0 / 0.6719 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1684, allocations: 8 kB / 0.6719 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1684, allocations: 0 / 0.6719 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1685, allocations: 4 kB / 0.6719 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.1694, allocations: 0.6242 MB / 0.6725 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.1695, allocations: 116.9 kB / 0.6726 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.1695, allocations: 8 kB / 0.6726 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1697, allocations: 31.95 kB / 0.6727 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1699, allocations: 23.97 kB / 0.6727 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1699, allocations: 11.94 kB / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002543/0.1701, allocations: 267 kB / 0.6729 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1702, allocations: 0 / 0.6729 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004126/0.1706, allocations: 111.8 kB / 0.6731 GB, free: 15.25 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.001414/0.172, allocations: 1.209 MB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.1732, allocations: 0.84 MB / 0.6751 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1732, allocations: 0 / 0.6751 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.1737, allocations: 374 kB / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.1742, allocations: 78.53 kB / 0.6755 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.1798, allocations: 4.425 MB / 0.6798 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1802, allocations: 0.7909 MB / 0.6806 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.1803, allocations: 21.95 kB / 0.6806 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1804, allocations: 91.41 kB / 0.6807 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.1804, allocations: 0 / 0.6807 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.2046, allocations: 8.7 MB / 0.6892 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.973, allocations: 5.062 kB / 0.6892 GB, free: 14.68 MB / 0.5294 GB (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)