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.001902/0.001902, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.002197/0.002197, allocations: 213.6 kB / 23.75 MB, free: 4.445 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9597/0.9597, allocations: 149.9 MB / 463.8 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: translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") [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.002347/0.002347, allocations: 63.8 kB / 0.6423 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1896, allocations: 89.17 MB / 0.7294 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003196/0.1928, allocations: 1.462 MB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.1937, allocations: 354.8 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.1937, allocations: 0 / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.1937, allocations: 0 / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.1938, allocations: 7.938 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.1943, allocations: 119.6 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.1944, allocations: 23.92 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.1945, allocations: 4 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.1945, allocations: 11.94 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.1946, allocations: 11.92 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1946, allocations: 0 / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.195, allocations: 259.7 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.195, allocations: 15.97 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1951, allocations: 7.938 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1953, allocations: 111.6 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1953, allocations: 0 / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1953, allocations: 3.938 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.1953, allocations: 0 / 0.7317 GB, free: 14.12 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.0005415/0.1959, allocations: 290 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1959, allocations: 12.03 kB / 0.732 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.196, allocations: 4.891 kB / 0.732 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1961, allocations: 110.5 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1961, allocations: 4.375 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1961, allocations: 4.375 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1963, allocations: 50.23 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1963, allocations: 4.125 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1963, allocations: 3.938 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1963, allocations: 4 kB / 0.7322 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1965, allocations: 27.97 kB / 0.7322 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.1968, allocations: 196.6 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.197, allocations: 38.56 kB / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.1971, allocations: 24.91 kB / 0.7324 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.1976, allocations: 83.84 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.1976, allocations: 34.5 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.1976, allocations: 4 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003964/0.198, allocations: 85.59 kB / 0.7326 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1981, allocations: 51.41 kB / 0.7327 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1982, allocations: 109.8 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1982, allocations: 25.83 kB / 0.7328 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.1983, allocations: 88.12 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1983, allocations: 7.953 kB / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.1983, allocations: 13.72 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1985, allocations: 314.8 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.1986, allocations: 19.98 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/0.1986, allocations: 15.92 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.1988, allocations: 44.89 kB / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1988, allocations: 0 / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.199, allocations: 69.59 kB / 0.7334 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.199, allocations: 10.03 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.199, allocations: 0 / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.199, allocations: 0 / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.1991, allocations: 7.984 kB / 0.7334 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1991, allocations: 0 / 0.7334 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.1992, allocations: 15.95 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1992, allocations: 4 kB / 0.7334 GB, free: 12.2 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 8.837e-05/0.1993, allocations: 109.8 kB / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.1993, allocations: 15.83 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1996, allocations: 69.28 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1996, allocations: 7.938 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1996, allocations: 0 / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1996, allocations: 0 / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1997, allocations: 105.3 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1997, allocations: 0 / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.1998, allocations: 16.23 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1998, allocations: 3.938 kB / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1998, allocations: 4 kB / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1998, allocations: 0 / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1998, allocations: 0 / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.2001, allocations: 163.5 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.2001, allocations: 11.97 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.2001, allocations: 0 / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.2002, allocations: 7.984 kB / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2002, allocations: 7.984 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2002, allocations: 3.938 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.2003, allocations: 87.27 kB / 0.734 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2003, allocations: 0 / 0.734 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002362/0.2005, allocations: 12 kB / 0.734 GB, free: 11.52 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.000188/0.2007, allocations: 103.2 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.2009, allocations: 43.95 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2009, allocations: 0 / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.201, allocations: 23.92 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2013, allocations: 0 / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.2017, allocations: 135.2 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.931e-05/0.2017, allocations: 63.47 kB / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.2018, allocations: 11.44 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2018, allocations: 0 / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.002555/0.2043, allocations: 0.7149 MB / 0.7351 GB, free: 10.38 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.944184700027108] Failed to read output from testmodel.py, exit status != 0: 0.21387838292866945 0.229719198 0.031121781 Calling exit ...