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.001314/0.001314, 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.001616/0.001616, allocations: 209.8 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.003/1.003, allocations: 149.9 MB / 463.1 MB, free: 10.33 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.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.002427/0.002427, allocations: 70.02 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1878, allocations: 89.17 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002998/0.1908, allocations: 1.452 MB / 0.7296 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.1916, allocations: 350.8 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.1916, allocations: 0 / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.1916, allocations: 3.984 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.1917, allocations: 7.938 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1922, allocations: 119.6 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.1923, allocations: 27.91 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1924, allocations: 4 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.1924, allocations: 11.94 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.1925, allocations: 7.922 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1925, allocations: 4 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.1929, allocations: 255.7 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.193, allocations: 7.984 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.193, allocations: 7.938 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.1932, allocations: 119.9 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1932, allocations: 8 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1932, allocations: 0 / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1933, allocations: 0 / 0.7305 GB, free: 14.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005918/0.1938, allocations: 286 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1939, allocations: 8.031 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.1939, allocations: 30.75 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.194, allocations: 12.89 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1942, allocations: 110.5 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1942, allocations: 384 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.1942, allocations: 384 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.1944, allocations: 54.23 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1944, allocations: 7.875 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1944, allocations: 3.984 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1944, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1946, allocations: 39.91 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.195, allocations: 220 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1952, allocations: 38.5 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.1953, allocations: 28.89 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.1958, allocations: 71.92 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1959, allocations: 38.5 kB / 0.7314 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.1959, allocations: 0 / 0.7314 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004187/0.1963, allocations: 89.59 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1963, allocations: 51.41 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.1964, allocations: 105.8 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1965, allocations: 25.7 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.1965, allocations: 84.14 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.1965, allocations: 3.953 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1966, allocations: 21.84 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1967, allocations: 314.8 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.1968, allocations: 19.98 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.1969, allocations: 15.92 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1971, allocations: 40.81 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1971, allocations: 3.938 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002457/0.1973, allocations: 69.73 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1973, allocations: 5.875 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1973, allocations: 7.984 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1974, allocations: 0 / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.1974, allocations: 4 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1974, allocations: 3.984 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1975, allocations: 7.984 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1975, allocations: 4 kB / 0.7322 GB, free: 12.66 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 (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.000101/0.1976, allocations: 121.7 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1977, allocations: 7.953 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.1979, allocations: 69.28 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1979, allocations: 3.984 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1979, allocations: 4.25 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1979, allocations: 0 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1981, allocations: 132.7 kB / 0.7325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1981, allocations: 3.938 kB / 0.7325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1982, allocations: 12.03 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1982, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1982, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1982, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1982, allocations: 3.984 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.1985, allocations: 167.4 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.1985, allocations: 3.984 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1985, allocations: 0 / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.1986, allocations: 11.97 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1986, allocations: 11.98 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1986, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.1987, allocations: 79.28 kB / 0.7328 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1987, allocations: 0 / 0.7328 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002337/0.1989, allocations: 12 kB / 0.7328 GB, free: 11.95 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 (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.000665/0.1996, allocations: 0.72 MB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1998, allocations: 40 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1998, allocations: 0 / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.1999, allocations: 23.97 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2002, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.2007, allocations: 147.1 kB / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.2007, allocations: 63.41 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.2008, allocations: 8 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.2008, allocations: 11.44 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2008, allocations: 0 / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.2325, allocations: 2.132 MB / 0.7359 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 5 kB / 0.7359 GB, free: 8.859 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.547018030192703] Failed to read output from testmodel.py, exit status != 0: 11.614311843179166 11.643843331 11.444781782 Calling exit ...