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.0017/0.0017, allocations: 108 kB / 15.61 MB, free: 152 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.001294/0.001294, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9946/0.9946, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.77 kB / 0.5055 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1527, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003555/0.1563, allocations: 2.078 MB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1582, allocations: 1.165 MB / 0.5877 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.1584, allocations: 8 kB / 0.5877 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.159, allocations: 115.6 kB / 0.5878 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1592, allocations: 47.58 kB / 0.5878 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.1599, allocations: 261.7 kB / 0.5881 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.1603, allocations: 319.2 kB / 0.5884 GB, free: 472 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1605, allocations: 91.05 kB / 0.5885 GB, free: 376 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1606, allocations: 119.6 kB / 0.5886 GB, free: 256 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1607, allocations: 123.5 kB / 0.5887 GB, free: 132 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.1608, allocations: 28 kB / 0.5887 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.1612, allocations: 223.8 kB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.1613, allocations: 91.73 kB / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1614, allocations: 155.1 kB / 0.5892 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.162, allocations: 0.5413 MB / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.162, allocations: 0 / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.162, allocations: 0 / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.162, allocations: 0 / 0.5897 GB, free: 15.1 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.001159/0.1632, allocations: 0.8126 MB / 0.5905 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.1633, allocations: 8.031 kB / 0.5905 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.1634, allocations: 50.73 kB / 0.5905 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.1635, allocations: 36.55 kB / 0.5906 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.1639, allocations: 320.4 kB / 0.5909 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.164, allocations: 12.66 kB / 0.5909 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.164, allocations: 27.94 kB / 0.5909 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.1646, allocations: 290.8 kB / 0.5912 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1647, allocations: 0 / 0.5912 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.1647, allocations: 12 kB / 0.5912 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1647, allocations: 4 kB / 0.5912 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.1654, allocations: 276.3 kB / 0.5915 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009793/0.1664, allocations: 0.6718 MB / 0.5921 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.167, allocations: 222.6 kB / 0.5924 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.1674, allocations: 192.7 kB / 0.5925 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1674, allocations: 4 kB / 0.5925 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1675, allocations: 34.56 kB / 0.5926 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1675, allocations: 0 / 0.5926 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001387/0.1689, allocations: 0.6769 MB / 0.5932 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.169, allocations: 140.5 kB / 0.5934 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.1694, allocations: 376.4 kB / 0.5937 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1694, allocations: 37.64 kB / 0.5938 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1695, allocations: 168.3 kB / 0.5939 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1696, allocations: 47.44 kB / 0.594 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.1697, allocations: 41.7 kB / 0.594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1698, allocations: 346.8 kB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1703, allocations: 235.8 kB / 0.5946 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.1708, allocations: 235.9 kB / 0.5948 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/0.1717, allocations: 0.6797 MB / 0.5955 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1718, allocations: 3.938 kB / 0.5955 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001102/0.1729, allocations: 0.7354 MB / 0.5962 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.173, allocations: 182.2 kB / 0.5963 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.173, allocations: 0 / 0.5963 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.173, allocations: 4 kB / 0.5964 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1732, allocations: 27.97 kB / 0.5964 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1732, allocations: 4 kB / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.1734, allocations: 47.66 kB / 0.5964 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.1735, allocations: 11.94 kB / 0.5964 GB, free: 7.77 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.0002145/0.1737, allocations: 254.9 kB / 0.5967 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.1738, allocations: 31.62 kB / 0.5967 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.1738, allocations: 26.94 kB / 0.5967 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1738, allocations: 4 kB / 0.5967 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1739, allocations: 4 kB / 0.5967 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1739, allocations: 0 / 0.5967 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1742, allocations: 353.3 kB / 0.5971 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1743, allocations: 0 / 0.5971 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.1745, allocations: 27.97 kB / 0.5971 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1745, allocations: 0 / 0.5971 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1745, allocations: 4 kB / 0.5971 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1745, allocations: 0 / 0.5971 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1746, allocations: 4 kB / 0.5971 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009452/0.1755, allocations: 0.6211 MB / 0.5977 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.1756, allocations: 112.7 kB / 0.5978 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.1757, allocations: 4 kB / 0.5978 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1759, allocations: 31.97 kB / 0.5979 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.176, allocations: 27.97 kB / 0.5979 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.176, allocations: 15.88 kB / 0.5979 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002853/0.1763, allocations: 283 kB / 0.5982 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1763, allocations: 0 / 0.5982 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004089/0.1768, allocations: 100 kB / 0.5983 GB, free: 5.754 MB / 0.4981 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.001389/0.1781, allocations: 1.21 MB / 0.5995 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.1794, allocations: 0.8476 MB / 0.6003 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1794, allocations: 4 kB / 0.6003 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.1799, allocations: 377.8 kB / 0.6006 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.1803, allocations: 69.39 kB / 0.6007 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2412/0.4215, allocations: 4.418 MB / 0.605 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.4218, allocations: 0.7866 MB / 0.6058 GB, free: 51.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.4219, allocations: 19.06 kB / 0.6058 GB, free: 51.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.422, allocations: 91.84 kB / 0.6059 GB, free: 51.08 MB / 0.4981 GB Notification: Performance of SimCode: time 7.02e-07/0.422, allocations: 0 / 0.6059 GB, free: 51.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.4463, allocations: 8.649 MB / 0.6143 GB, free: 50.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.104, allocations: 13.67 kB / 0.6144 GB, free: 50.5 MB / 0.4981 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)