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.001395/0.001395, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001711/0.001711, allocations: 209 kB / 22.99 MB, free: 4.977 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9715/0.9715, allocations: 149.9 MB / 463 MB, free: 10.4 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.002094/0.002094, allocations: 64.12 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2073, allocations: 89.17 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002028/0.2094, allocations: 0.5915 MB / 0.7288 GB, free: 436 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000787/0.2102, allocations: 283 kB / 0.729 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.2102, allocations: 7.938 kB / 0.729 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.2102, allocations: 0 / 0.729 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-06/0.2102, allocations: 0 / 0.729 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.2108, allocations: 107.7 kB / 0.7291 GB, free: 36 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.168e-05/0.2108, allocations: 7.984 kB / 0.7292 GB, free: 28 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.2109, allocations: 0 / 0.7292 GB, free: 28 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.2109, allocations: 7.938 kB / 0.7292 GB, free: 20 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.61e-05/0.2109, allocations: 0 / 0.7292 GB, free: 20 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2109, allocations: 0 / 0.7292 GB, free: 20 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.2114, allocations: 255.7 kB / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.2115, allocations: 0 / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.2115, allocations: 7.984 kB / 0.7294 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.2117, allocations: 92.02 kB / 0.7295 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2117, allocations: 0 / 0.7295 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2117, allocations: 0 / 0.7295 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.2117, allocations: 0 / 0.7295 GB, free: 15.67 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.000414/0.2121, allocations: 262.2 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.2122, allocations: 12.03 kB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.2123, allocations: 30.75 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.2123, allocations: 4.875 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2124, allocations: 110.5 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2125, allocations: 384 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.2125, allocations: 8.375 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2126, allocations: 26.27 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2126, allocations: 3.938 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2126, allocations: 3.938 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2126, allocations: 0 / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.2126, allocations: 8 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.2128, allocations: 112.8 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.2129, allocations: 26.53 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.2129, allocations: 4.859 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004363/0.2133, allocations: 44.03 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.2134, allocations: 34.56 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.2134, allocations: 0 / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000223/0.2136, allocations: 37.62 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.2136, allocations: 55.41 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.2137, allocations: 89.86 kB / 0.7303 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2137, allocations: 25.7 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.2138, allocations: 84.27 kB / 0.7304 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2138, allocations: 7.891 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.2138, allocations: 17.72 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.214, allocations: 310.8 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.214, allocations: 0 / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.214, allocations: 0 / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.2141, allocations: 12.86 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2141, allocations: 0 / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.788e-05/0.2142, allocations: 37.69 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2142, allocations: 8.094 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2142, allocations: 3.938 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2142, allocations: 0 / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.2143, allocations: 4 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2143, allocations: 3.938 kB / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.2143, allocations: 0 / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2143, allocations: 0 / 0.7308 GB, free: 14.11 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 9.495e-05/0.2144, allocations: 109.8 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.2144, allocations: 4 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.2145, allocations: 44.62 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2145, allocations: 0 / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2145, allocations: 0 / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2145, allocations: 3.938 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2147, allocations: 124.8 kB / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2147, allocations: 3.938 kB / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.2147, allocations: 0 / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2147, allocations: 0 / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2147, allocations: 7.938 kB / 0.7311 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2147, allocations: 0 / 0.7311 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2147, allocations: 0 / 0.7311 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.2148, allocations: 61.11 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.2148, allocations: 3.984 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2148, allocations: 3.938 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.2149, allocations: 4 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.2149, allocations: 0 / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2149, allocations: 4 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.2149, allocations: 75.28 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2149, allocations: 0 / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002057/0.2151, allocations: 11.94 kB / 0.7313 GB, free: 13.58 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.0005395/0.2157, allocations: 0.6124 MB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.55e-05/0.2157, allocations: 0 / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2157, allocations: 4 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.759e-06/0.2157, allocations: 3.984 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.2159, allocations: 2.031 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.2162, allocations: 110.5 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.673e-05/0.2163, allocations: 59.33 kB / 0.732 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.2163, allocations: 8.156 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.2163, allocations: 11.44 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.2163, allocations: 3.938 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.2475, allocations: 1.683 MB / 0.7337 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.4, allocations: 0 / 0.7337 GB, free: 11.13 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.34958615526557] Failed to read output from testmodel.py, exit status != 0: 11.504954023752362 11.522252949 11.307083825 Calling exit ...