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.001372/0.001372, allocations: 112.9 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.001585/0.001585, allocations: 212.3 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.526/1.526, 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 1.018/1.018, allocations: 150 MB / 459.5 MB, free: 5.293 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.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.002097/0.002097, allocations: 77.61 kB / 0.6362 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1979, allocations: 89.13 MB / 0.7232 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001857/0.1997, allocations: 0.5797 MB / 0.7238 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.2004, allocations: 327.2 kB / 0.7241 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.2005, allocations: 0 / 0.7241 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.2005, allocations: 0 / 0.7241 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.2005, allocations: 0 / 0.7241 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.2009, allocations: 111.6 kB / 0.7242 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.201, allocations: 7.922 kB / 0.7242 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.2011, allocations: 7.984 kB / 0.7242 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.2011, allocations: 4 kB / 0.7242 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.481e-05/0.2011, allocations: 0 / 0.7242 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.2011, allocations: 0 / 0.7242 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.2016, allocations: 271.7 kB / 0.7245 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.2016, allocations: 4 kB / 0.7245 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.2016, allocations: 0 / 0.7245 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.2019, allocations: 95.94 kB / 0.7246 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2019, allocations: 0 / 0.7246 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.639e-06/0.2019, allocations: 3.984 kB / 0.7246 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2019, allocations: 0 / 0.7246 GB, free: 2.605 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005128/0.2024, allocations: 335.3 kB / 0.7249 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2024, allocations: 12.03 kB / 0.7249 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.2025, allocations: 30.75 kB / 0.7249 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.2025, allocations: 0.9375 kB / 0.7249 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2027, allocations: 160.4 kB / 0.7251 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2027, allocations: 384 / 0.7251 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2027, allocations: 4.375 kB / 0.7251 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2028, allocations: 34.2 kB / 0.7251 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2028, allocations: 3.938 kB / 0.7251 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2028, allocations: 0 / 0.7251 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2028, allocations: 0 / 0.7251 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.2029, allocations: 4 kB / 0.7251 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.203, allocations: 149.7 kB / 0.7253 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/0.2031, allocations: 18.58 kB / 0.7253 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.2031, allocations: 12.89 kB / 0.7253 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.2038, allocations: 421.5 kB / 0.7257 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.2038, allocations: 34.56 kB / 0.7257 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.2038, allocations: 0 / 0.7257 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001716/0.204, allocations: 45.62 kB / 0.7258 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.204, allocations: 51.41 kB / 0.7258 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.2041, allocations: 89.86 kB / 0.7259 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2041, allocations: 25.7 kB / 0.7259 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.2041, allocations: 80.14 kB / 0.726 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.2042, allocations: 11.89 kB / 0.726 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.2042, allocations: 9.719 kB / 0.726 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2043, allocations: 311 kB / 0.7263 GB, free: 488 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.2044, allocations: 4 kB / 0.7263 GB, free: 484 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.2044, allocations: 11.94 kB / 0.7264 GB, free: 472 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.2044, allocations: 4.859 kB / 0.7264 GB, free: 464 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2044, allocations: 4 kB / 0.7264 GB, free: 460 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.424e-05/0.2045, allocations: 41.61 kB / 0.7264 GB, free: 412 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2045, allocations: 4 kB / 0.7264 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2045, allocations: 3.938 kB / 0.7264 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2045, allocations: 0 / 0.7264 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.082e-05/0.2045, allocations: 8.094 kB / 0.7264 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2045, allocations: 0 / 0.7264 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.497e-06/0.2046, allocations: 0 / 0.7264 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2046, allocations: 0 / 0.7264 GB, free: 396 kB / 0.5294 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 8.971e-05/0.2046, allocations: 113.8 kB / 0.7265 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.2047, allocations: 0 / 0.7265 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.2048, allocations: 48.75 kB / 0.7266 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2048, allocations: 0 / 0.7266 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2048, allocations: 4.031 kB / 0.7266 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2048, allocations: 0 / 0.7266 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2049, allocations: 149.7 kB / 0.7267 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2049, allocations: 0 / 0.7267 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.2049, allocations: 0 / 0.7267 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2049, allocations: 0 / 0.7267 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2049, allocations: 7.938 kB / 0.7267 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2049, allocations: 0 / 0.7267 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2049, allocations: 0 / 0.7267 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.205, allocations: 66.95 kB / 0.7268 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.2051, allocations: 81.11 kB / 0.7269 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2051, allocations: 3.938 kB / 0.7269 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.2051, allocations: 0 / 0.7269 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.2051, allocations: 0 / 0.7269 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2051, allocations: 0 / 0.7269 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.2052, allocations: 75.28 kB / 0.7269 GB, free: 15.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2052, allocations: 0 / 0.7269 GB, free: 15.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001989/0.2054, allocations: 19.88 kB / 0.727 GB, free: 15.73 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 (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.0005192/0.2059, allocations: 0.6085 MB / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.206, allocations: 11.98 kB / 0.7276 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.206, allocations: 0 / 0.7276 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.206, allocations: 4.094 kB / 0.7276 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.2061, allocations: 4 kB / 0.7276 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.2064, allocations: 102.5 kB / 0.7277 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.2067, allocations: 0.6768 MB / 0.7283 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.2067, allocations: 0 / 0.7283 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.2068, allocations: 7.438 kB / 0.7283 GB, free: 14.22 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2068, allocations: 3.938 kB / 0.7283 GB, free: 14.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.2329, allocations: 1.188 MB / 0.7295 GB, free: 13.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.419, allocations: 13.75 kB / 0.7295 GB, free: 13.12 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.526017345953733] Failed to read output from testmodel.py, exit status != 0: 8.495159643003717 8.517368272 8.311500406 Calling exit ...