Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001298/0.001298, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001591/0.001591, allocations: 219.7 kB / 23 MB, free: 5.07 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.965/0.965, allocations: 150 MB / 463.2 MB, free: 10.47 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.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.002013/0.002013, allocations: 65.81 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1945, allocations: 89.18 MB / 0.7284 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001841/0.1963, allocations: 0.5838 MB / 0.729 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.1971, allocations: 338.7 kB / 0.7293 GB, free: 292 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.1971, allocations: 0 / 0.7293 GB, free: 292 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.1972, allocations: 0 / 0.7293 GB, free: 292 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.1972, allocations: 0 / 0.7293 GB, free: 292 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.1977, allocations: 115.2 kB / 0.7294 GB, free: 180 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.725e-05/0.1977, allocations: 4 kB / 0.7294 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.1978, allocations: 0 / 0.7294 GB, free: 176 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.642e-05/0.1978, allocations: 4 kB / 0.7294 GB, free: 172 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.454e-05/0.1978, allocations: 0 / 0.7294 GB, free: 172 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.1978, allocations: 0 / 0.7294 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.1983, allocations: 279.6 kB / 0.7297 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1983, allocations: 0 / 0.7297 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.1983, allocations: 0 / 0.7297 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1985, allocations: 88.02 kB / 0.7298 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1985, allocations: 3.984 kB / 0.7298 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1985, allocations: 0 / 0.7298 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1985, allocations: 4 kB / 0.7298 GB, free: 15.8 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003596/0.1989, allocations: 262.2 kB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1989, allocations: 16.02 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.199, allocations: 30.75 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.199, allocations: 0.9375 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.809e-05/0.1991, allocations: 102.5 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1991, allocations: 384 / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1991, allocations: 4.375 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1993, allocations: 30.27 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1993, allocations: 7.875 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1993, allocations: 0 / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1993, allocations: 0 / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.1993, allocations: 4 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.1995, allocations: 120.8 kB / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.1995, allocations: 18.61 kB / 0.7303 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.1995, allocations: 4.859 kB / 0.7303 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/0.1999, allocations: 40.03 kB / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1999, allocations: 34.55 kB / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.1999, allocations: 4 kB / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.2001, allocations: 41.58 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2002, allocations: 59.47 kB / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.784e-05/0.2002, allocations: 89.86 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2002, allocations: 25.7 kB / 0.7306 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.2002, allocations: 80.14 kB / 0.7307 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.2003, allocations: 7.938 kB / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2003, allocations: 13.72 kB / 0.7307 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2004, allocations: 310.8 kB / 0.731 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.2005, allocations: 7.984 kB / 0.731 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.2005, allocations: 8 kB / 0.731 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.2005, allocations: 8.797 kB / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2005, allocations: 0 / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.584e-05/0.2006, allocations: 33.7 kB / 0.7311 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2006, allocations: 7.938 kB / 0.7311 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2006, allocations: 3.938 kB / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2006, allocations: 0 / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.2006, allocations: 4 kB / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2006, allocations: 0 / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.2006, allocations: 4.094 kB / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.2007, allocations: 0 / 0.7311 GB, free: 14.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.893e-05/0.2007, allocations: 113.8 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.2008, allocations: 4 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.284e-05/0.2008, allocations: 44.58 kB / 0.7312 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2008, allocations: 0 / 0.7312 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2009, allocations: 0 / 0.7312 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2009, allocations: 0 / 0.7312 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.189e-05/0.2009, allocations: 124.8 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2009, allocations: 0 / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.201, allocations: 0 / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.201, allocations: 0 / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.201, allocations: 7.938 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.201, allocations: 0 / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.201, allocations: 0 / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.485e-05/0.2011, allocations: 61.06 kB / 0.7314 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.2011, allocations: 12.02 kB / 0.7314 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2011, allocations: 3.938 kB / 0.7314 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.2011, allocations: 0 / 0.7314 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.2011, allocations: 0 / 0.7314 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.2011, allocations: 0 / 0.7314 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.2011, allocations: 75.28 kB / 0.7315 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.2011, allocations: 0 / 0.7315 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000204/0.2013, allocations: 15.94 kB / 0.7315 GB, free: 13.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004902/0.2018, allocations: 0.6163 MB / 0.7321 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.2019, allocations: 7.938 kB / 0.7321 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2019, allocations: 0 / 0.7321 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-06/0.2019, allocations: 0 / 0.7321 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.2021, allocations: 6.188 kB / 0.7321 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.2024, allocations: 118.6 kB / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.2027, allocations: 0.669 MB / 0.7329 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.2027, allocations: 0 / 0.7329 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.2027, allocations: 11.44 kB / 0.7329 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2027, allocations: 0 / 0.7329 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.2316, allocations: 1.283 MB / 0.7342 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.98, allocations: 10.02 kB / 0.7342 GB, free: 11.04 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.81955237299917] Failed to read output from testmodel.py, exit status != 0: 11.084511246001057 11.112462194 10.908847928 Calling exit ...