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.004963/0.004963, allocations: 100.7 kB / 15.73 MB, free: 6.066 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.001281/0.001281, allocations: 197 kB / 16.68 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8242/0.8242, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 69.33 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1505, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00346/0.154, allocations: 2.086 MB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.156, allocations: 1.181 MB / 0.6624 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1561, allocations: 4 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.1566, allocations: 119.6 kB / 0.6625 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1567, allocations: 47.56 kB / 0.6626 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.1575, allocations: 258 kB / 0.6628 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.1579, allocations: 323.2 kB / 0.6631 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.1581, allocations: 91.05 kB / 0.6632 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1583, allocations: 111.6 kB / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1584, allocations: 123.5 kB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.1585, allocations: 28 kB / 0.6634 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.159, allocations: 235.6 kB / 0.6637 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1591, allocations: 91.73 kB / 0.6638 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1592, allocations: 147.2 kB / 0.6639 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.1599, allocations: 0.5605 MB / 0.6644 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.16, allocations: 0 / 0.6644 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.16, allocations: 0 / 0.6644 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.16, allocations: 0 / 0.6644 GB, free: 5.379 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.001391/0.1614, allocations: 0.8201 MB / 0.6652 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1614, allocations: 8.031 kB / 0.6653 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.498e-05/0.1615, allocations: 54.67 kB / 0.6653 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.1616, allocations: 40.7 kB / 0.6653 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.1621, allocations: 332.5 kB / 0.6657 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1621, allocations: 16.41 kB / 0.6657 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.1622, allocations: 16 kB / 0.6657 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.1628, allocations: 290.9 kB / 0.666 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1628, allocations: 0 / 0.666 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1629, allocations: 8 kB / 0.666 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1629, allocations: 4 kB / 0.666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.1636, allocations: 272.3 kB / 0.6662 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.1647, allocations: 0.6757 MB / 0.6669 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.1653, allocations: 226.6 kB / 0.6671 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.1658, allocations: 192.7 kB / 0.6673 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1658, allocations: 4 kB / 0.6673 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1658, allocations: 30.56 kB / 0.6673 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.1658, allocations: 0 / 0.6673 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001441/0.1673, allocations: 0.6812 MB / 0.668 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.1674, allocations: 136.5 kB / 0.6681 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.1679, allocations: 380.5 kB / 0.6685 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.1679, allocations: 29.7 kB / 0.6685 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1681, allocations: 168.5 kB / 0.6687 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.1681, allocations: 43.58 kB / 0.6687 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1682, allocations: 49.7 kB / 0.6688 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1684, allocations: 342.8 kB / 0.6691 GB, free: 324 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.1689, allocations: 243.8 kB / 0.6693 GB, free: 80 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.1694, allocations: 231.9 kB / 0.6696 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.1704, allocations: 0.6789 MB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1704, allocations: 4 kB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001232/0.1717, allocations: 0.7337 MB / 0.6709 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.1718, allocations: 182.2 kB / 0.6711 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1718, allocations: 0 / 0.6711 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1719, allocations: 3.984 kB / 0.6711 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.172, allocations: 31.97 kB / 0.6711 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1721, allocations: 0 / 0.6711 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.1723, allocations: 55.69 kB / 0.6712 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1723, allocations: 4 kB / 0.6712 GB, free: 14.02 MB / 0.5137 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.0002649/0.1726, allocations: 259.8 kB / 0.6714 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.1727, allocations: 27.81 kB / 0.6715 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.1727, allocations: 34.94 kB / 0.6715 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1728, allocations: 0 / 0.6715 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1728, allocations: 0 / 0.6715 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1728, allocations: 11.86 kB / 0.6715 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1732, allocations: 349.3 kB / 0.6719 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1732, allocations: 0 / 0.6719 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.1734, allocations: 27.97 kB / 0.6719 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1734, allocations: 0 / 0.6719 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1734, allocations: 8 kB / 0.6719 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1734, allocations: 0 / 0.6719 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1734, allocations: 4 kB / 0.6719 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1745, allocations: 0.6212 MB / 0.6725 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1746, allocations: 116.8 kB / 0.6726 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.1746, allocations: 8 kB / 0.6726 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1749, allocations: 27.97 kB / 0.6726 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.175, allocations: 31.91 kB / 0.6727 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.175, allocations: 11.88 kB / 0.6727 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003114/0.1753, allocations: 275 kB / 0.6729 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1753, allocations: 0 / 0.6729 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004466/0.1758, allocations: 103.8 kB / 0.673 GB, free: 12.01 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.001614/0.1774, allocations: 1.205 MB / 0.6742 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.1787, allocations: 0.8477 MB / 0.6751 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1787, allocations: 0 / 0.6751 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.1793, allocations: 370 kB / 0.6754 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.1798, allocations: 73.27 kB / 0.6755 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.1861, allocations: 4.424 MB / 0.6798 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1866, allocations: 0.787 MB / 0.6806 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.1867, allocations: 29.88 kB / 0.6806 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1869, allocations: 94.66 kB / 0.6807 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.1869, allocations: 0 / 0.6807 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.2239, allocations: 8.7 MB / 0.6892 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.44, allocations: 12.92 kB / 0.6892 GB, free: 11.42 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)