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.001569/0.001569, 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.001297/0.001297, allocations: 194 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9749/0.9749, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 68.22 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1476, allocations: 80.93 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003359/0.151, allocations: 2.074 MB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.153, allocations: 1.177 MB / 0.5877 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1531, allocations: 4 kB / 0.5877 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.1535, allocations: 119.6 kB / 0.5878 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1537, allocations: 43.58 kB / 0.5878 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.1544, allocations: 259.5 kB / 0.5881 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.1547, allocations: 319.2 kB / 0.5884 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1549, allocations: 91.03 kB / 0.5885 GB, free: 324 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1551, allocations: 107.6 kB / 0.5886 GB, free: 216 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1553, allocations: 123.5 kB / 0.5887 GB, free: 92 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.1554, allocations: 28 kB / 0.5887 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.1557, allocations: 239.7 kB / 0.5889 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.1558, allocations: 87.73 kB / 0.589 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.156, allocations: 147.2 kB / 0.5892 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.1565, allocations: 0.5452 MB / 0.5897 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1565, allocations: 0 / 0.5897 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1565, allocations: 0 / 0.5897 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.1565, allocations: 0 / 0.5897 GB, free: 15.05 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.001116/0.1577, allocations: 0.8126 MB / 0.5905 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1577, allocations: 12.03 kB / 0.5905 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.1578, allocations: 46.73 kB / 0.5905 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.1578, allocations: 32.56 kB / 0.5906 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.1584, allocations: 328.4 kB / 0.5909 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1584, allocations: 16.64 kB / 0.5909 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1584, allocations: 23.88 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.159, allocations: 290.9 kB / 0.5912 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.159, allocations: 0 / 0.5912 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1591, allocations: 8 kB / 0.5912 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1591, allocations: 4 kB / 0.5912 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.1597, allocations: 276.3 kB / 0.5915 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.1606, allocations: 0.664 MB / 0.5921 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.1611, allocations: 234.6 kB / 0.5923 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.1615, allocations: 192.7 kB / 0.5925 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1616, allocations: 0 / 0.5925 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1616, allocations: 34.56 kB / 0.5926 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1616, allocations: 0 / 0.5926 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001278/0.1629, allocations: 0.674 MB / 0.5932 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.163, allocations: 140.5 kB / 0.5934 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.1633, allocations: 384.4 kB / 0.5937 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1634, allocations: 25.7 kB / 0.5937 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1635, allocations: 168.3 kB / 0.5939 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1635, allocations: 39.47 kB / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.1636, allocations: 45.7 kB / 0.594 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1638, allocations: 346.7 kB / 0.5943 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.1642, allocations: 235.9 kB / 0.5945 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.1648, allocations: 240.5 kB / 0.5948 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.1656, allocations: 0.6832 MB / 0.5954 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1656, allocations: 0 / 0.5954 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001013/0.1667, allocations: 0.7334 MB / 0.5962 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/0.1668, allocations: 186.2 kB / 0.5963 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1668, allocations: 0 / 0.5963 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1668, allocations: 0 / 0.5963 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.167, allocations: 27.97 kB / 0.5964 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.167, allocations: 0 / 0.5964 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.1672, allocations: 51.64 kB / 0.5964 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1672, allocations: 15.94 kB / 0.5964 GB, free: 7.727 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.0003107/0.1675, allocations: 250.9 kB / 0.5967 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.1676, allocations: 39.55 kB / 0.5967 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.1677, allocations: 26.94 kB / 0.5967 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1677, allocations: 4 kB / 0.5967 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1677, allocations: 4 kB / 0.5967 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1677, allocations: 0 / 0.5967 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.168, allocations: 345.3 kB / 0.5971 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.168, allocations: 7.984 kB / 0.5971 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1682, allocations: 23.97 kB / 0.5971 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1682, allocations: 4 kB / 0.5971 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1682, allocations: 8 kB / 0.5971 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1683, allocations: 0 / 0.5971 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1683, allocations: 0 / 0.5971 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.1692, allocations: 0.6164 MB / 0.5977 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.1693, allocations: 120.7 kB / 0.5978 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.1693, allocations: 11.92 kB / 0.5978 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1695, allocations: 27.97 kB / 0.5979 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.1696, allocations: 31.91 kB / 0.5979 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1697, allocations: 4 kB / 0.5979 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000261/0.1699, allocations: 279 kB / 0.5982 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1699, allocations: 0 / 0.5982 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003812/0.1703, allocations: 104 kB / 0.5983 GB, free: 5.711 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.001519/0.1719, allocations: 1.214 MB / 0.5994 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.173, allocations: 0.8438 MB / 0.6003 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.173, allocations: 0 / 0.6003 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.1735, allocations: 374 kB / 0.6006 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.174, allocations: 69.39 kB / 0.6007 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.218/0.392, allocations: 4.427 MB / 0.605 GB, free: 51.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.3923, allocations: 0.7867 MB / 0.6058 GB, free: 51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.993e-05/0.3924, allocations: 21.61 kB / 0.6058 GB, free: 51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.72e-05/0.3925, allocations: 91.19 kB / 0.6059 GB, free: 51 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.3925, allocations: 3.219 kB / 0.6059 GB, free: 51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.553/0.9455, allocations: 8.649 MB / 0.6143 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/9.232, allocations: 10.95 kB / 0.6144 GB, free: 50.43 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/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)