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.007688/0.007688, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001684/0.001684, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7293/0.7293, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 76.34 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1546, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00332/0.158, allocations: 2.08 MB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1599, allocations: 1.185 MB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.16, allocations: 0 / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.1605, allocations: 122.2 kB / 0.6625 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1606, allocations: 43.59 kB / 0.6626 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.1614, allocations: 259.4 kB / 0.6628 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1618, allocations: 311.3 kB / 0.6631 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.162, allocations: 103 kB / 0.6632 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1622, allocations: 107.6 kB / 0.6633 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1623, allocations: 127.5 kB / 0.6634 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.1624, allocations: 28 kB / 0.6634 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.1628, allocations: 223.7 kB / 0.6637 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.72e-05/0.1629, allocations: 95.61 kB / 0.6638 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.163, allocations: 151.2 kB / 0.6639 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.1637, allocations: 0.5539 MB / 0.6644 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1637, allocations: 0 / 0.6644 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1637, allocations: 0 / 0.6644 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.1637, allocations: 0 / 0.6644 GB, free: 8.668 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.001266/0.165, allocations: 0.8049 MB / 0.6652 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.165, allocations: 8.031 kB / 0.6652 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.1651, allocations: 50.73 kB / 0.6653 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.1652, allocations: 40.41 kB / 0.6653 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.1655, allocations: 324.4 kB / 0.6656 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1656, allocations: 20.41 kB / 0.6656 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1656, allocations: 16 kB / 0.6657 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.1662, allocations: 290.9 kB / 0.6659 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1662, allocations: 0 / 0.6659 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1662, allocations: 8 kB / 0.6659 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1662, allocations: 4 kB / 0.6659 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.1668, allocations: 276.3 kB / 0.6662 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009804/0.1678, allocations: 0.6638 MB / 0.6669 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.1683, allocations: 234.6 kB / 0.6671 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.1687, allocations: 192.8 kB / 0.6673 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1687, allocations: 4 kB / 0.6673 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1688, allocations: 38.55 kB / 0.6673 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.1688, allocations: 0 / 0.6673 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001226/0.17, allocations: 0.6757 MB / 0.668 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.1701, allocations: 136.5 kB / 0.6681 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.1705, allocations: 380.5 kB / 0.6685 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1705, allocations: 25.7 kB / 0.6685 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1706, allocations: 168.3 kB / 0.6686 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.1707, allocations: 43.47 kB / 0.6687 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.1708, allocations: 49.64 kB / 0.6687 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1709, allocations: 346.8 kB / 0.6691 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.1713, allocations: 239.8 kB / 0.6693 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.1717, allocations: 235.9 kB / 0.6695 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.1726, allocations: 0.6757 MB / 0.6702 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1726, allocations: 0 / 0.6702 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009829/0.1736, allocations: 0.7444 MB / 0.6709 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.1737, allocations: 186.2 kB / 0.6711 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1737, allocations: 0 / 0.6711 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1737, allocations: 0 / 0.6711 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1739, allocations: 27.97 kB / 0.6711 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1739, allocations: 0 / 0.6711 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1741, allocations: 43.69 kB / 0.6712 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.1741, allocations: 19.98 kB / 0.6712 GB, free: 1.336 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.0002049/0.1743, allocations: 259.5 kB / 0.6714 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.1744, allocations: 31.62 kB / 0.6714 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.1745, allocations: 26.94 kB / 0.6715 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1745, allocations: 4 kB / 0.6715 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1745, allocations: 0 / 0.6715 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1745, allocations: 3.938 kB / 0.6715 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.1748, allocations: 349.3 kB / 0.6718 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1748, allocations: 0 / 0.6718 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.175, allocations: 31.97 kB / 0.6718 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.175, allocations: 0 / 0.6718 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.175, allocations: 8 kB / 0.6719 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.175, allocations: 0 / 0.6719 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.175, allocations: 0 / 0.6719 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.1759, allocations: 0.6249 MB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.176, allocations: 116.7 kB / 0.6726 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.1761, allocations: 4 kB / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.1763, allocations: 31.95 kB / 0.6726 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.1764, allocations: 19.98 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.1764, allocations: 15.92 kB / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002574/0.1767, allocations: 271 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1767, allocations: 0 / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003835/0.1771, allocations: 107.9 kB / 0.673 GB, free: 15.33 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.001351/0.1784, allocations: 1.224 MB / 0.6742 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.1795, allocations: 0.8282 MB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1796, allocations: 4 kB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.18, allocations: 378 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1805, allocations: 76.27 kB / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.186, allocations: 4.413 MB / 0.6798 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1864, allocations: 0.7831 MB / 0.6805 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.67e-05/0.1865, allocations: 17.95 kB / 0.6805 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.1866, allocations: 95.39 kB / 0.6806 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.1866, allocations: 0 / 0.6806 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.2134, allocations: 8.871 MB / 0.6893 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.153, allocations: 7.75 kB / 0.6893 GB, free: 14.6 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)