Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001339/0.001339, allocations: 104.3 kB / 19.7 MB, free: 2.086 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: 215.1 kB / 22.99 MB, free: 4.906 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.04/1.04, allocations: 149.9 MB / 463 MB, free: 10.41 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.003454/0.003454, allocations: 71.31 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2173, allocations: 89.17 MB / 0.7282 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00318/0.2204, allocations: 0.6171 MB / 0.7288 GB, free: 460 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2215, allocations: 314.9 kB / 0.7291 GB, free: 144 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.2215, allocations: 3.938 kB / 0.7291 GB, free: 140 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.2215, allocations: 0 / 0.7291 GB, free: 140 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.2216, allocations: 0 / 0.7291 GB, free: 140 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.2222, allocations: 119.6 kB / 0.7292 GB, free: 20 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.2222, allocations: 19.98 kB / 0.7292 GB, free: 0 / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.2223, allocations: 8.047 kB / 0.7292 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.2224, allocations: 15.92 kB / 0.7293 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.2224, allocations: 15.91 kB / 0.7293 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2224, allocations: 0 / 0.7293 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.2229, allocations: 259.7 kB / 0.7295 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.2229, allocations: 8 kB / 0.7295 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.2229, allocations: 11.92 kB / 0.7295 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2232, allocations: 107.9 kB / 0.7296 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2232, allocations: 3.938 kB / 0.7297 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2232, allocations: 0 / 0.7297 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.2232, allocations: 3.938 kB / 0.7297 GB, free: 15.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005809/0.2238, allocations: 290 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.2238, allocations: 8.031 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.2239, allocations: 38.75 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.224, allocations: 0.9375 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2241, allocations: 110.5 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2241, allocations: 384 / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.2242, allocations: 8.375 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.2244, allocations: 101.6 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2244, allocations: 7.875 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2244, allocations: 4 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2244, allocations: 4 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.2245, allocations: 19.92 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.2248, allocations: 132.8 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2249, allocations: 66.47 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.225, allocations: 24.86 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/0.2256, allocations: 83.91 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.2256, allocations: 30.56 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.2256, allocations: 0 / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001384/0.227, allocations: 455 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.2271, allocations: 51.41 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.2272, allocations: 101.9 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.2272, allocations: 33.69 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.2272, allocations: 84.14 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.2273, allocations: 31.7 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.2273, allocations: 29.7 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2275, allocations: 310.8 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.2275, allocations: 23.98 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.2276, allocations: 23.98 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.2277, allocations: 59.98 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2277, allocations: 96 / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001833/0.2278, allocations: 109.4 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2279, allocations: 12 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2279, allocations: 0 / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2279, allocations: 0 / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.228, allocations: 16 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.228, allocations: 8.766 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.228, allocations: 0 / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.228, allocations: 4 kB / 0.7318 GB, free: 13.08 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 (13): * Single equations (assignments): 13 * 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.0001006/0.2281, allocations: 113.8 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.2282, allocations: 11.89 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.2284, allocations: 109.4 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2284, allocations: 7.984 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2284, allocations: 4 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2284, allocations: 0 / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.2288, allocations: 329.5 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2288, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.2289, allocations: 16 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.2289, allocations: 4 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.229, allocations: 0 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.229, allocations: 0 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.229, allocations: 7.969 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.2293, allocations: 219.5 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2293, allocations: 24.02 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2293, allocations: 0 / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.2294, allocations: 4 kB / 0.7327 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.2294, allocations: 11.98 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2294, allocations: 0 / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.2295, allocations: 83.22 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2295, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00029/0.2298, allocations: 47.86 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007721/0.2305, allocations: 0.7787 MB / 0.7335 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.2307, allocations: 59.98 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.2307, allocations: 4 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.2307, allocations: 27.92 kB / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.231, allocations: 12.69 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2325, allocations: 1.408 MB / 0.735 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.2326, allocations: 72.28 kB / 0.7351 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.2326, allocations: 8.062 kB / 0.7351 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.2327, allocations: 19.42 kB / 0.7351 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.2327, allocations: 4 kB / 0.7351 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.2674, allocations: 2.963 MB / 0.738 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.37, allocations: 22.92 kB / 0.738 GB, free: 6.699 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.396671197842807] Failed to read output from testmodel.py, exit status != 0: 11.475484783761203 11.491532511 11.26488306 Calling exit ...