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.001362/0.001362, 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.001637/0.001637, allocations: 216.2 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.552/1.552, 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.107/1.107, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 178] 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.002167/0.002167, allocations: 70.84 kB / 0.6415 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2003, allocations: 89.17 MB / 0.7286 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.00328/0.2036, allocations: 1.461 MB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008604/0.2045, allocations: 350.9 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.2045, allocations: 8 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.2046, allocations: 0 / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.2046, allocations: 7.922 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.2051, allocations: 107.7 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.2052, allocations: 27.86 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2053, allocations: 8 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.2054, allocations: 7.984 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.2054, allocations: 11.94 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2054, allocations: 4 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.2058, allocations: 259.6 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.2059, allocations: 4 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.2059, allocations: 7.938 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.2061, allocations: 123.6 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2061, allocations: 0 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2061, allocations: 0 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.2061, allocations: 0 / 0.7309 GB, free: 14.14 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.0005283/0.2067, allocations: 292.6 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2067, allocations: 8.031 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.2068, allocations: 12.89 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2069, allocations: 106.5 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2069, allocations: 4.375 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.2069, allocations: 384 / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2071, allocations: 54.17 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2071, allocations: 192 / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2071, allocations: 3.938 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.2071, allocations: 0 / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.2073, allocations: 43.89 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.2076, allocations: 196.6 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2078, allocations: 38.55 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.2078, allocations: 20.91 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.2084, allocations: 79.86 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2084, allocations: 30.56 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2084, allocations: 0 / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003865/0.2088, allocations: 89.53 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.2088, allocations: 55.41 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.2089, allocations: 110 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.209, allocations: 25.7 kB / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.209, allocations: 84.14 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.209, allocations: 3.953 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.2091, allocations: 21.7 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2092, allocations: 310.8 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.2093, allocations: 19.98 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.2094, allocations: 11.98 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.2095, allocations: 48.81 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2095, allocations: 0 / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.2097, allocations: 73.59 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2097, allocations: 4 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2098, allocations: 0 / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2098, allocations: 4 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.2099, allocations: 8.281 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2099, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.2099, allocations: 15.92 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2099, allocations: 0 / 0.7326 GB, free: 12.23 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.384e-05/0.21, allocations: 109.8 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.21, allocations: 7.891 kB / 0.7328 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.2103, allocations: 81.2 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2103, allocations: 3.984 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2103, allocations: 4.031 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2103, allocations: 4 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.2104, allocations: 109.3 kB / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2104, allocations: 0 / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.2105, allocations: 11.94 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2105, allocations: 3.938 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2105, allocations: 0 / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2105, allocations: 3.938 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2105, allocations: 3.984 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2108, allocations: 163.5 kB / 0.7331 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.2108, allocations: 11.92 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2108, allocations: 0 / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.2109, allocations: 4 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2109, allocations: 3.984 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2109, allocations: 4 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.211, allocations: 83.28 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.211, allocations: 0 / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002295/0.2112, allocations: 12 kB / 0.7332 GB, free: 11.55 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.0001902/0.2114, allocations: 111.2 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2116, allocations: 39.97 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2116, allocations: 0 / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.2117, allocations: 23.91 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.212, allocations: 6.031 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.2123, allocations: 113.6 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.678e-05/0.2124, allocations: 59.34 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.2124, allocations: 4 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.2124, allocations: 7.438 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.2124, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.003409/0.2158, allocations: 0.7495 MB / 0.7343 GB, free: 10.41 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: 6.223715288564563] Failed to read output from testmodel.py, exit status != 0: 0.22560467012226582 0.240561568 0.031382643 Calling exit ...