Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 186.1 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.087/1.087, allocations: 149.6 MB / 456.6 MB, free: 1.188 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 75.94 kB / 0.6329 GB, free: 8.914 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2335, allocations: 87.87 MB / 0.7187 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001972/0.2355, allocations: 0.5861 MB / 0.7193 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002914/0.2357, allocations: 44.36 kB / 0.7193 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.2358, allocations: 0 / 0.7193 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.2358, allocations: 8 kB / 0.7193 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.2358, allocations: 0 / 0.7193 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.236, allocations: 15.92 kB / 0.7193 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.2361, allocations: 4 kB / 0.7193 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.2361, allocations: 3.938 kB / 0.7193 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.2362, allocations: 4 kB / 0.7193 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.2362, allocations: 7.969 kB / 0.7194 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.2362, allocations: 0 / 0.7194 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2363, allocations: 19.98 kB / 0.7194 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.2363, allocations: 0 / 0.7194 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.2364, allocations: 4 kB / 0.7194 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.688e-05/0.2364, allocations: 11.98 kB / 0.7194 GB, free: 264 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2365, allocations: 3.938 kB / 0.7194 GB, free: 260 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2365, allocations: 4 kB / 0.7194 GB, free: 256 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2365, allocations: 0 / 0.7194 GB, free: 256 kB / 0.5294 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.0003439/0.2368, allocations: 242.4 kB / 0.7196 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2368, allocations: 8.625 kB / 0.7196 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.2371, allocations: 20.91 kB / 0.7197 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.2372, allocations: 114.5 kB / 0.7198 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2372, allocations: 4.359 kB / 0.7198 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2373, allocations: 384 / 0.7198 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2374, allocations: 34.25 kB / 0.7198 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2374, allocations: 192 / 0.7198 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2374, allocations: 3.938 kB / 0.7198 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2374, allocations: 0 / 0.7198 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.2375, allocations: 11.98 kB / 0.7198 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.2377, allocations: 124.8 kB / 0.7199 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.2378, allocations: 22.55 kB / 0.72 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.2378, allocations: 12.91 kB / 0.72 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2379, allocations: 0 / 0.72 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2379, allocations: 30.56 kB / 0.72 GB, free: 15.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2379, allocations: 4 kB / 0.72 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002619/0.2382, allocations: 49.61 kB / 0.7201 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.2382, allocations: 55.41 kB / 0.7201 GB, free: 15.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.2383, allocations: 89.86 kB / 0.7202 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2383, allocations: 29.64 kB / 0.7202 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.2383, allocations: 80.14 kB / 0.7203 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.2384, allocations: 0 / 0.7203 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.2384, allocations: 17.84 kB / 0.7203 GB, free: 15.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2386, allocations: 310.8 kB / 0.7206 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.2386, allocations: 7.984 kB / 0.7206 GB, free: 14.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.2387, allocations: 4 kB / 0.7206 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.2388, allocations: 16.84 kB / 0.7206 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2388, allocations: 0 / 0.7206 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001444/0.2389, allocations: 53.73 kB / 0.7207 GB, free: 14.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2389, allocations: 4 kB / 0.7207 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2389, allocations: 3.938 kB / 0.7207 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2389, allocations: 7.875 kB / 0.7207 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.239, allocations: 7.938 kB / 0.7207 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.239, allocations: 0 / 0.7207 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.2391, allocations: 4 kB / 0.7207 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2391, allocations: 3.984 kB / 0.7207 GB, free: 14.71 MB / 0.545 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 8.238e-05/0.2392, allocations: 109.9 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.2392, allocations: 3.953 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.2392, allocations: 6.938 kB / 0.7208 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2392, allocations: 0 / 0.7208 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.2392, allocations: 4 kB / 0.7208 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2392, allocations: 0 / 0.7208 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.2393, allocations: 120.8 kB / 0.721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.2393, allocations: 0 / 0.721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.2394, allocations: 4 kB / 0.721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2394, allocations: 4 kB / 0.721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2394, allocations: 3.938 kB / 0.721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2394, allocations: 0 / 0.721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2394, allocations: 0 / 0.721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.2395, allocations: 73.05 kB / 0.721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.2395, allocations: 0 / 0.721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.2396, allocations: 3.938 kB / 0.721 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.2396, allocations: 8.031 kB / 0.721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.2396, allocations: 0 / 0.721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.2396, allocations: 0 / 0.721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.2397, allocations: 75.28 kB / 0.7211 GB, free: 14.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2397, allocations: 0 / 0.7211 GB, free: 14.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001747/0.2398, allocations: 3.984 kB / 0.7211 GB, free: 14.23 MB / 0.545 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.00013/0.24, allocations: 95.25 kB / 0.7212 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.2401, allocations: 15.98 kB / 0.7212 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2401, allocations: 0 / 0.7212 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.2402, allocations: 4 kB / 0.7212 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.2403, allocations: 0 / 0.7212 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.2406, allocations: 87.56 kB / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2409, allocations: 0.6768 MB / 0.722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.241, allocations: 16.09 kB / 0.722 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.241, allocations: 7.438 kB / 0.722 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.241, allocations: 3.938 kB / 0.722 GB, free: 13.26 MB / 0.545 GB Notification: Performance of Templates: time 0.002468/0.2434, allocations: 235.5 kB / 0.7222 GB, free: 13.04 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.12090911809355] Failed to read output from testmodel.py, exit status != 0: 0.25173427164554596 0.26624335 0.026702934 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f18fb7f97b0>