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.001629/0.001629, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001884/0.001884, allocations: 189 kB / 16.25 MB, free: 6.152 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.538/1.538, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9296/0.9296, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.45 kB / 0.505 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1459, allocations: 80.92 MB / 0.584 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00335/0.1493, allocations: 2.134 MB / 0.5861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1511, allocations: 1.162 MB / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1513, allocations: 0 / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.1517, allocations: 103.8 kB / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1519, allocations: 39.72 kB / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.1526, allocations: 226.7 kB / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.1529, allocations: 323.3 kB / 0.5879 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1531, allocations: 99.02 kB / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1533, allocations: 111.6 kB / 0.5881 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1534, allocations: 131.5 kB / 0.5882 GB, free: 476 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.1535, allocations: 28 kB / 0.5882 GB, free: 448 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.1538, allocations: 223.7 kB / 0.5885 GB, free: 224 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1539, allocations: 87.73 kB / 0.5885 GB, free: 136 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.1541, allocations: 151.3 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.1546, allocations: 0.5491 MB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1547, allocations: 0 / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.125e-06/0.1547, allocations: 0 / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.1547, allocations: 3.938 kB / 0.5892 GB, free: 15.43 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.001151/0.1558, allocations: 0.8087 MB / 0.59 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1559, allocations: 8.031 kB / 0.59 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.1559, allocations: 54.73 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.156, allocations: 32.56 kB / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1564, allocations: 324.4 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1564, allocations: 12.66 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.1564, allocations: 19.94 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.157, allocations: 290.9 kB / 0.5907 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.157, allocations: 3.938 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.1571, allocations: 12 kB / 0.5907 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1571, allocations: 4 kB / 0.5907 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.1577, allocations: 268.4 kB / 0.591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/0.1586, allocations: 0.6718 MB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.1592, allocations: 230.6 kB / 0.5919 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.1596, allocations: 188.7 kB / 0.592 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1596, allocations: 4 kB / 0.5921 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1596, allocations: 34.56 kB / 0.5921 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1596, allocations: 0 / 0.5921 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001287/0.1609, allocations: 0.67 MB / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.161, allocations: 140.5 kB / 0.5929 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.1614, allocations: 380.4 kB / 0.5932 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1614, allocations: 29.7 kB / 0.5933 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1615, allocations: 168.3 kB / 0.5934 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.1616, allocations: 39.45 kB / 0.5935 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.1617, allocations: 45.7 kB / 0.5935 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1618, allocations: 346.7 kB / 0.5938 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.1622, allocations: 243.8 kB / 0.5941 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.1626, allocations: 231.9 kB / 0.5943 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008966/0.1635, allocations: 0.6875 MB / 0.595 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1636, allocations: 112 / 0.595 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001039/0.1646, allocations: 0.7405 MB / 0.5957 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/0.1647, allocations: 184.4 kB / 0.5959 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1647, allocations: 3.938 kB / 0.5959 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1647, allocations: 4 kB / 0.5959 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1649, allocations: 31.95 kB / 0.5959 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1649, allocations: 0 / 0.5959 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1652, allocations: 43.66 kB / 0.5959 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.1652, allocations: 15.94 kB / 0.596 GB, free: 8.102 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.0002012/0.1654, allocations: 258.9 kB / 0.5962 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.1655, allocations: 31.62 kB / 0.5962 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1655, allocations: 26.94 kB / 0.5963 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1655, allocations: 0 / 0.5963 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1655, allocations: 0 / 0.5963 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1655, allocations: 4 kB / 0.5963 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1659, allocations: 345.3 kB / 0.5966 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1659, allocations: 0 / 0.5966 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1661, allocations: 31.91 kB / 0.5966 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1661, allocations: 4 kB / 0.5966 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.1661, allocations: 8 kB / 0.5966 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1661, allocations: 0 / 0.5966 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1661, allocations: 4 kB / 0.5966 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.167, allocations: 0.6164 MB / 0.5972 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.1671, allocations: 116.7 kB / 0.5974 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.1672, allocations: 4 kB / 0.5974 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.1674, allocations: 23.97 kB / 0.5974 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1675, allocations: 31.97 kB / 0.5974 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.1676, allocations: 4 kB / 0.5974 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002673/0.1678, allocations: 282.9 kB / 0.5977 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1678, allocations: 4 kB / 0.5977 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004131/0.1683, allocations: 96 kB / 0.5978 GB, free: 6.102 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.001428/0.1697, allocations: 1.217 MB / 0.599 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.1708, allocations: 0.8438 MB / 0.5998 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1708, allocations: 0 / 0.5998 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005339/0.1714, allocations: 385.6 kB / 0.6002 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.1719, allocations: 69.34 kB / 0.6002 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2428/0.4147, allocations: 4.489 MB / 0.6046 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.415, allocations: 0.7838 MB / 0.6054 GB, free: 51.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.4151, allocations: 22.27 kB / 0.6054 GB, free: 51.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4152, allocations: 93.78 kB / 0.6055 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.4152, allocations: 1.656 kB / 0.6055 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.067/1.482, allocations: 8.266 MB / 0.6136 GB, free: 50.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.482, allocations: 240.1 kB / 0.6138 GB, free: 50.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/4.142, allocations: 0 / 0.6138 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 & /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)