Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.001344/0.001344, allocations: 114 kB / 17.12 MB, free: 6.008 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.001545/0.001545, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9958/0.9958, allocations: 150 MB / 459.5 MB, free: 5.238 MB / 350.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.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.003451/0.003451, allocations: 65.59 kB / 0.6361 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1902, allocations: 89.13 MB / 0.7232 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003507/0.1938, allocations: 1.465 MB / 0.7246 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1948, allocations: 388.6 kB / 0.725 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.1949, allocations: 0 / 0.725 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.1949, allocations: 4 kB / 0.725 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.195, allocations: 3.938 kB / 0.725 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.1956, allocations: 115.7 kB / 0.7251 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1957, allocations: 27.86 kB / 0.7251 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1958, allocations: 4.281 kB / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.196, allocations: 11.98 kB / 0.7251 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.196, allocations: 15.92 kB / 0.7251 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.196, allocations: 0 / 0.7251 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.1966, allocations: 279.6 kB / 0.7254 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1966, allocations: 3.984 kB / 0.7254 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.1967, allocations: 11.92 kB / 0.7254 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1969, allocations: 107.7 kB / 0.7255 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1969, allocations: 8 kB / 0.7255 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1969, allocations: 0 / 0.7255 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1969, allocations: 3.984 kB / 0.7255 GB, free: 1.703 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005567/0.1975, allocations: 365 kB / 0.7259 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1975, allocations: 8.031 kB / 0.7259 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.1976, allocations: 34.75 kB / 0.7259 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.1976, allocations: 8.891 kB / 0.7259 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1978, allocations: 164.4 kB / 0.7261 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1978, allocations: 8.312 kB / 0.7261 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1978, allocations: 4.375 kB / 0.7261 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.198, allocations: 50.23 kB / 0.7261 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.198, allocations: 3.938 kB / 0.7262 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.198, allocations: 0 / 0.7262 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.198, allocations: 3.938 kB / 0.7262 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1982, allocations: 31.97 kB / 0.7262 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1986, allocations: 257 kB / 0.7264 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1988, allocations: 38.5 kB / 0.7265 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1989, allocations: 24.89 kB / 0.7265 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008602/0.1997, allocations: 457.5 kB / 0.7269 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.1999, allocations: 42.44 kB / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.1999, allocations: 0 / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004682/0.2003, allocations: 89.59 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.2004, allocations: 51.41 kB / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2005, allocations: 105.8 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2005, allocations: 25.7 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.2006, allocations: 84.14 kB / 0.7273 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.2006, allocations: 7.953 kB / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.2007, allocations: 17.7 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003008/0.201, allocations: 315 kB / 0.7276 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.2011, allocations: 19.98 kB / 0.7277 GB, free: 15.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.2012, allocations: 15.98 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.2013, allocations: 45 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2013, allocations: 3.938 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002512/0.2016, allocations: 69.73 kB / 0.7278 GB, free: 15.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.2017, allocations: 4 kB / 0.7278 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2017, allocations: 7.984 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2017, allocations: 0 / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.2018, allocations: 4 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2018, allocations: 0 / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.2018, allocations: 11.92 kB / 0.7278 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2018, allocations: 0 / 0.7278 GB, free: 15.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001047/0.2019, allocations: 121.8 kB / 0.7279 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.202, allocations: 7.891 kB / 0.7279 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.2023, allocations: 77.12 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.2023, allocations: 3.984 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2023, allocations: 0 / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2023, allocations: 4 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.2025, allocations: 161.6 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2025, allocations: 4.031 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.2026, allocations: 11.98 kB / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2026, allocations: 0 / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2026, allocations: 0 / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2026, allocations: 0 / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2026, allocations: 0 / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.2029, allocations: 171.4 kB / 0.7283 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.203, allocations: 77.11 kB / 0.7284 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.203, allocations: 4 kB / 0.7284 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.2031, allocations: 7.984 kB / 0.7284 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.2031, allocations: 0 / 0.7284 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2031, allocations: 0 / 0.7284 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.47e-05/0.2032, allocations: 87.27 kB / 0.7285 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2032, allocations: 3.938 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002454/0.2034, allocations: 15.95 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000758/0.2042, allocations: 0.7162 MB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.2044, allocations: 36 kB / 0.7293 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2044, allocations: 0 / 0.7293 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.2045, allocations: 19.98 kB / 0.7293 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2048, allocations: 7.797 kB / 0.7293 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.2053, allocations: 147 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.2056, allocations: 0.6768 MB / 0.7301 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.2056, allocations: 8.125 kB / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.2057, allocations: 11.44 kB / 0.7301 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2057, allocations: 3.938 kB / 0.7301 GB, free: 12.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.2328, allocations: 1.598 MB / 0.7317 GB, free: 10.99 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.388, allocations: 10.28 kB / 0.7317 GB, free: 10.98 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower_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_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.345751011976972] Failed to read output from testmodel.py, exit status != 0: 8.45835332898423 8.481097511 8.279830946 Calling exit ...