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.001156/0.001156, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001556/0.001556, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9187/0.9187, allocations: 135.3 MB / 426.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 13.16 kB / 0.5071 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 82.31 MB / 0.5875 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002029/0.1511, allocations: 1.728 MB / 0.5892 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1526, allocations: 1.092 MB / 0.5902 GB, free: 124 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.1527, allocations: 0 / 0.5902 GB, free: 124 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.153, allocations: 79.56 kB / 0.5903 GB, free: 44 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.1531, allocations: 43.7 kB / 0.5904 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.1536, allocations: 185.5 kB / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1539, allocations: 247.3 kB / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.154, allocations: 81.8 kB / 0.5908 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.1541, allocations: 83.67 kB / 0.5909 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1543, allocations: 99.53 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1543, allocations: 8 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.1546, allocations: 195.7 kB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.1547, allocations: 71.73 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.1548, allocations: 77.52 kB / 0.5914 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.1551, allocations: 411.2 kB / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1552, allocations: 0 / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1552, allocations: 0 / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1552, allocations: 0 / 0.5918 GB, free: 14.56 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.0009227/0.1561, allocations: 0.7776 MB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1561, allocations: 11.97 kB / 0.5925 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.1562, allocations: 46.56 kB / 0.5926 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.1563, allocations: 43.47 kB / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.1566, allocations: 315.3 kB / 0.5929 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1566, allocations: 12.28 kB / 0.5929 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1567, allocations: 16 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.1572, allocations: 306.9 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1573, allocations: 0 / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1573, allocations: 8 kB / 0.5932 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1573, allocations: 4 kB / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.1579, allocations: 304.3 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.1588, allocations: 0.6836 MB / 0.5942 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.1593, allocations: 242.6 kB / 0.5944 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.1597, allocations: 208.7 kB / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1597, allocations: 0 / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1597, allocations: 38.55 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.1598, allocations: 0 / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001243/0.161, allocations: 0.7208 MB / 0.5954 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1611, allocations: 136.5 kB / 0.5955 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.1615, allocations: 384.4 kB / 0.5959 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1615, allocations: 33.7 kB / 0.5959 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1616, allocations: 168.3 kB / 0.5961 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.1617, allocations: 35.45 kB / 0.5961 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.1617, allocations: 4.109 kB / 0.5961 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1618, allocations: 342.8 kB / 0.5964 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1622, allocations: 255.8 kB / 0.5967 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.1626, allocations: 259.4 kB / 0.5969 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.1631, allocations: 422.1 kB / 0.5973 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1631, allocations: 0 / 0.5973 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00102/0.1642, allocations: 0.7608 MB / 0.5981 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1643, allocations: 190.1 kB / 0.5982 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1643, allocations: 0 / 0.5982 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.1643, allocations: 0 / 0.5982 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1645, allocations: 39.97 kB / 0.5983 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1645, allocations: 0 / 0.5983 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1647, allocations: 59.67 kB / 0.5983 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.1647, allocations: 8 kB / 0.5983 GB, free: 7.406 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.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.1649, allocations: 254.9 kB / 0.5986 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.165, allocations: 27.62 kB / 0.5986 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.165, allocations: 34.94 kB / 0.5986 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.165, allocations: 0 / 0.5986 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1651, allocations: 0 / 0.5986 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1651, allocations: 3.938 kB / 0.5987 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.1654, allocations: 353.3 kB / 0.599 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1654, allocations: 8 kB / 0.599 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1655, allocations: 39.91 kB / 0.599 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1656, allocations: 0 / 0.599 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1656, allocations: 8 kB / 0.599 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1656, allocations: 0 / 0.599 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1656, allocations: 0 / 0.599 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.1665, allocations: 0.6523 MB / 0.5997 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.1666, allocations: 104.7 kB / 0.5998 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.1666, allocations: 11.94 kB / 0.5998 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1668, allocations: 43.95 kB / 0.5998 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.1669, allocations: 23.97 kB / 0.5999 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.167, allocations: 4 kB / 0.5999 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000254/0.1672, allocations: 271 kB / 0.6001 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.353e-06/0.1672, allocations: 0 / 0.6001 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000373/0.1676, allocations: 115.9 kB / 0.6002 GB, free: 5.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.1689, allocations: 1.236 MB / 0.6014 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.17, allocations: 0.8711 MB / 0.6023 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.17, allocations: 0 / 0.6023 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.1705, allocations: 394.1 kB / 0.6027 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1709, allocations: 74.14 kB / 0.6027 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2322/0.4031, allocations: 2.84 MB / 0.6055 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.4033, allocations: 0.7889 MB / 0.6063 GB, free: 48.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.4034, allocations: 19.86 kB / 0.6063 GB, free: 48.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4036, allocations: 87.84 kB / 0.6064 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.4036, allocations: 2.75 kB / 0.6064 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.4195, allocations: 8.154 MB / 0.6143 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001252/0.4197, allocations: 222.6 kB / 0.6146 GB, free: 48.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.183, allocations: 0 / 0.6146 GB, free: 48.05 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) Environment - environmentSimulation: