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.005154/0.005154, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001166/0.001166, allocations: 191.1 kB / 16.67 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7572/0.7572, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002513, allocations: 75.59 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1706, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003323/0.174, allocations: 2.078 MB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.176, allocations: 1.181 MB / 0.6624 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1762, allocations: 4 kB / 0.6624 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.1766, allocations: 122.1 kB / 0.6625 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1767, allocations: 51.58 kB / 0.6626 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.1775, allocations: 254.6 kB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.1779, allocations: 315.3 kB / 0.6631 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.1781, allocations: 99.03 kB / 0.6632 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1783, allocations: 111.6 kB / 0.6633 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1784, allocations: 123.5 kB / 0.6634 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.1785, allocations: 28 kB / 0.6634 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.1789, allocations: 231.7 kB / 0.6637 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.179, allocations: 87.69 kB / 0.6638 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.1792, allocations: 151.2 kB / 0.6639 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.1798, allocations: 0.5578 MB / 0.6644 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1798, allocations: 0 / 0.6644 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1798, allocations: 0 / 0.6644 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.1798, allocations: 4 kB / 0.6644 GB, free: 8.613 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.001227/0.1811, allocations: 0.8048 MB / 0.6652 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1811, allocations: 8.031 kB / 0.6652 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.1812, allocations: 50.73 kB / 0.6653 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.1813, allocations: 40.41 kB / 0.6653 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1817, allocations: 328.4 kB / 0.6656 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1817, allocations: 16.41 kB / 0.6657 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.1818, allocations: 16 kB / 0.6657 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.1823, allocations: 290.9 kB / 0.6659 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1823, allocations: 0 / 0.6659 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1824, allocations: 8 kB / 0.666 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1824, allocations: 4 kB / 0.666 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.183, allocations: 272.4 kB / 0.6662 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.1839, allocations: 0.6715 MB / 0.6669 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.1844, allocations: 234.6 kB / 0.6671 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.1848, allocations: 192.9 kB / 0.6673 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.1848, allocations: 0 / 0.6673 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1849, allocations: 34.56 kB / 0.6673 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1849, allocations: 0 / 0.6673 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001257/0.1861, allocations: 0.67 MB / 0.668 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.1862, allocations: 140.5 kB / 0.6681 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.1866, allocations: 380.5 kB / 0.6685 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1866, allocations: 25.7 kB / 0.6685 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1868, allocations: 164.3 kB / 0.6686 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.1868, allocations: 47.41 kB / 0.6687 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.1869, allocations: 53.64 kB / 0.6687 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1871, allocations: 346.7 kB / 0.6691 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.1875, allocations: 239.9 kB / 0.6693 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.1879, allocations: 239.8 kB / 0.6695 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.1888, allocations: 0.6832 MB / 0.6702 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1888, allocations: 0 / 0.6702 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001/0.1898, allocations: 0.7296 MB / 0.6709 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.1899, allocations: 186.2 kB / 0.6711 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1899, allocations: 0 / 0.6711 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1899, allocations: 0 / 0.6711 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1901, allocations: 31.91 kB / 0.6711 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1901, allocations: 3.984 kB / 0.6711 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1903, allocations: 47.69 kB / 0.6712 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.1904, allocations: 15.98 kB / 0.6712 GB, free: 1.277 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.0002157/0.1906, allocations: 251.6 kB / 0.6714 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.1906, allocations: 31.62 kB / 0.6715 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.1907, allocations: 26.94 kB / 0.6715 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1907, allocations: 4 kB / 0.6715 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1907, allocations: 0 / 0.6715 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1907, allocations: 7.922 kB / 0.6715 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.1911, allocations: 341.3 kB / 0.6718 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1911, allocations: 4 kB / 0.6718 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1913, allocations: 31.91 kB / 0.6719 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1913, allocations: 0 / 0.6719 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1913, allocations: 8 kB / 0.6719 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1913, allocations: 3.984 kB / 0.6719 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1913, allocations: 0 / 0.6719 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/0.1923, allocations: 0.6214 MB / 0.6725 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.1924, allocations: 112.7 kB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.1924, allocations: 11.98 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1926, allocations: 23.97 kB / 0.6726 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.1928, allocations: 27.97 kB / 0.6726 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.1928, allocations: 15.94 kB / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000287/0.1931, allocations: 267 kB / 0.6729 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.4e-07/0.1931, allocations: 0 / 0.6729 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004342/0.1935, allocations: 107.9 kB / 0.673 GB, free: 15.28 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.001467/0.195, allocations: 1.217 MB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.1961, allocations: 0.836 MB / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1962, allocations: 0 / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.1966, allocations: 378 kB / 0.6754 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1971, allocations: 74.64 kB / 0.6754 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.2027, allocations: 4.413 MB / 0.6798 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.2032, allocations: 0.787 MB / 0.6805 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.2033, allocations: 21.89 kB / 0.6805 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.2035, allocations: 91.41 kB / 0.6806 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2035, allocations: 0 / 0.6806 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.2289, allocations: 8.705 MB / 0.6891 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.131, allocations: 21.72 kB / 0.6892 GB, free: 14.71 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)