Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 104.3 kB / 19.7 MB, free: 1.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 217.8 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9284/0.9284, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.39 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1704, allocations: 89.17 MB / 0.7282 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003651/0.174, allocations: 2.019 MB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1761, allocations: 1.137 MB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1762, allocations: 4 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.1766, allocations: 115.6 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1767, allocations: 47.58 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.1775, allocations: 266.6 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.1778, allocations: 295.3 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.178, allocations: 63.45 kB / 0.732 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1781, allocations: 111.6 kB / 0.7321 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1783, allocations: 123.5 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.1783, allocations: 32 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.1788, allocations: 231.7 kB / 0.7325 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1789, allocations: 95.67 kB / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.179, allocations: 119.4 kB / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.1797, allocations: 0.5605 MB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1797, allocations: 0 / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1797, allocations: 0 / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.1797, allocations: 3.938 kB / 0.7332 GB, free: 11.76 MB / 0.5606 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.001215/0.1809, allocations: 0.7486 MB / 0.734 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.181, allocations: 12.03 kB / 0.734 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/0.181, allocations: 46.73 kB / 0.734 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.1811, allocations: 40.7 kB / 0.7341 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1815, allocations: 262.7 kB / 0.7343 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1815, allocations: 16.41 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1816, allocations: 20 kB / 0.7344 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.1822, allocations: 384 kB / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1823, allocations: 0 / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1823, allocations: 8 kB / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1823, allocations: 4 kB / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.183, allocations: 353.5 kB / 0.7351 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.184, allocations: 0.5779 MB / 0.7356 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.1847, allocations: 311.7 kB / 0.7359 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.1851, allocations: 277.8 kB / 0.7362 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1851, allocations: 3.984 kB / 0.7362 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.1852, allocations: 38.61 kB / 0.7362 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.1852, allocations: 0 / 0.7362 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.001548/0.1867, allocations: 0.8481 MB / 0.7371 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1868, allocations: 148.4 kB / 0.7372 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.1873, allocations: 372.5 kB / 0.7376 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.1873, allocations: 29.7 kB / 0.7376 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1874, allocations: 168.4 kB / 0.7378 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.1875, allocations: 43.64 kB / 0.7378 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.1876, allocations: 45.7 kB / 0.7378 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1878, allocations: 346.7 kB / 0.7382 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.1883, allocations: 426.1 kB / 0.7386 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.1889, allocations: 418 kB / 0.739 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1899, allocations: 0.6952 MB / 0.7397 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1899, allocations: 0 / 0.7397 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001285/0.1912, allocations: 0.9225 MB / 0.7406 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.1913, allocations: 186.2 kB / 0.7407 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1913, allocations: 7.938 kB / 0.7407 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1914, allocations: 0 / 0.7407 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1915, allocations: 31.97 kB / 0.7408 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1915, allocations: 0 / 0.7408 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.1918, allocations: 55.72 kB / 0.7408 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1918, allocations: 4 kB / 0.7408 GB, free: 3.375 MB / 0.5606 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.0002473/0.192, allocations: 254.9 kB / 0.7411 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.1921, allocations: 31.8 kB / 0.7411 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.1921, allocations: 30.88 kB / 0.7411 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1922, allocations: 4 kB / 0.7411 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1922, allocations: 0 / 0.7411 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1922, allocations: 7.875 kB / 0.7411 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.1925, allocations: 272.6 kB / 0.7414 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1925, allocations: 0 / 0.7414 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1927, allocations: 31.91 kB / 0.7414 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1927, allocations: 0 / 0.7414 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.1927, allocations: 11.98 kB / 0.7414 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1927, allocations: 3.984 kB / 0.7414 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1927, allocations: 4 kB / 0.7414 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1938, allocations: 0.7044 MB / 0.7421 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.1938, allocations: 35.75 kB / 0.7422 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1939, allocations: 4 kB / 0.7422 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1941, allocations: 35.95 kB / 0.7422 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1942, allocations: 27.97 kB / 0.7422 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1942, allocations: 7.938 kB / 0.7422 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003089/0.1945, allocations: 271 kB / 0.7425 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1945, allocations: 0 / 0.7425 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004115/0.195, allocations: 111.8 kB / 0.7426 GB, free: 1.422 MB / 0.5606 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.001599/0.1966, allocations: 1.307 MB / 0.7439 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.198, allocations: 1.089 MB / 0.7449 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.198, allocations: 0 / 0.7449 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.1986, allocations: 458.4 kB / 0.7454 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.199, allocations: 77.27 kB / 0.7455 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/0.2058, allocations: 5.282 MB / 0.7506 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.206, allocations: 182.1 kB / 0.7508 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.2061, allocations: 17.95 kB / 0.7508 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.2062, allocations: 91.41 kB / 0.7509 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.2062, allocations: 0 / 0.7509 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/0.5156, allocations: 9.76 MB / 0.7604 GB, free: 35.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.44, allocations: 4.859 kB / 0.7604 GB, free: 35.98 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.094509563874453] Failed to read output from testmodel.py, exit status != 0: 11.546819721814245 11.558979902 11.376579547 Calling exit ...