Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001247/0.001247, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.00137/0.00137, allocations: 192.1 kB / 22.98 MB, free: 5.062 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.506/1.506, 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.065/1.065, allocations: 149.6 MB / 456.6 MB, free: 1.199 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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 63.89 kB / 0.6329 GB, free: 8.988 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2432, allocations: 87.88 MB / 0.7187 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002009/0.2452, allocations: 0.5939 MB / 0.7193 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002871/0.2455, allocations: 43.86 kB / 0.7193 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.2455, allocations: 0 / 0.7193 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.2455, allocations: 0 / 0.7193 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.2456, allocations: 0 / 0.7193 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.2458, allocations: 11.98 kB / 0.7193 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.2459, allocations: 7.938 kB / 0.7193 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.2459, allocations: 0.5 kB / 0.7193 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.246, allocations: 8 kB / 0.7193 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.246, allocations: 4 kB / 0.7194 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.246, allocations: 0 / 0.7194 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2461, allocations: 23.97 kB / 0.7194 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.2462, allocations: 11.94 kB / 0.7194 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.2462, allocations: 3.938 kB / 0.7194 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2463, allocations: 23.97 kB / 0.7194 GB, free: 308 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2463, allocations: 0 / 0.7194 GB, free: 308 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2463, allocations: 0 / 0.7194 GB, free: 308 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2463, allocations: 0 / 0.7194 GB, free: 308 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003998/0.2467, allocations: 272 kB / 0.7197 GB, free: 16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2468, allocations: 16.62 kB / 0.7197 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.2468, allocations: 0.9375 kB / 0.7197 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2469, allocations: 110.5 kB / 0.7198 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2469, allocations: 8.25 kB / 0.7198 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2469, allocations: 4.375 kB / 0.7198 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2471, allocations: 62.17 kB / 0.7199 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2471, allocations: 192 / 0.7199 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2471, allocations: 3.938 kB / 0.7199 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.2472, allocations: 4 kB / 0.7199 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.639e-05/0.2472, allocations: 27.98 kB / 0.7199 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.2476, allocations: 239.9 kB / 0.7201 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.2477, allocations: 18.64 kB / 0.7201 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.2477, allocations: 12.8 kB / 0.7202 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.2477, allocations: 0 / 0.7202 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2477, allocations: 30.56 kB / 0.7202 GB, free: 15.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.2477, allocations: 4 kB / 0.7202 GB, free: 15.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000193/0.2479, allocations: 75.34 kB / 0.7203 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.248, allocations: 77.11 kB / 0.7203 GB, free: 15.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2481, allocations: 109.8 kB / 0.7204 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.2481, allocations: 25.7 kB / 0.7205 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.2482, allocations: 107.9 kB / 0.7206 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.2482, allocations: 3.953 kB / 0.7206 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.2482, allocations: 21.72 kB / 0.7206 GB, free: 14.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2484, allocations: 322.9 kB / 0.7209 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.2484, allocations: 15.92 kB / 0.7209 GB, free: 14.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.2486, allocations: 58.86 kB / 0.721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.2487, allocations: 134.1 kB / 0.7211 GB, free: 14.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2487, allocations: 0 / 0.7211 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002438/0.249, allocations: 119.2 kB / 0.7212 GB, free: 14.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.249, allocations: 33.7 kB / 0.7212 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.249, allocations: 480 / 0.7212 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.249, allocations: 4 kB / 0.7213 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.2491, allocations: 15.92 kB / 0.7213 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2491, allocations: 4 kB / 0.7213 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.2492, allocations: 7.938 kB / 0.7213 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2492, allocations: 8.25 kB / 0.7213 GB, free: 14.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001365/0.2493, allocations: 151.5 kB / 0.7214 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.2494, allocations: 3.953 kB / 0.7214 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.2494, allocations: 7.469 kB / 0.7214 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2494, allocations: 3.938 kB / 0.7214 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2494, allocations: 3.938 kB / 0.7214 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2494, allocations: 4 kB / 0.7215 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2496, allocations: 128.7 kB / 0.7216 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2496, allocations: 0 / 0.7216 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.2496, allocations: 0 / 0.7216 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.2496, allocations: 7.938 kB / 0.7216 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2496, allocations: 4 kB / 0.7216 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2496, allocations: 0 / 0.7216 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2496, allocations: 7.969 kB / 0.7216 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.2498, allocations: 165.2 kB / 0.7218 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.2498, allocations: 0 / 0.7218 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2498, allocations: 4 kB / 0.7218 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.2499, allocations: 4.031 kB / 0.7218 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.2499, allocations: 0 / 0.7218 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2499, allocations: 4 kB / 0.7218 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.25, allocations: 91.27 kB / 0.7219 GB, free: 13.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.25, allocations: 0 / 0.7219 GB, free: 13.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002644/0.2502, allocations: 11.94 kB / 0.7219 GB, free: 13.43 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002602/0.2505, allocations: 115.2 kB / 0.722 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.2507, allocations: 87.45 kB / 0.7221 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2507, allocations: 0 / 0.7221 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.2507, allocations: 55.41 kB / 0.7221 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2509, allocations: 10.5 kB / 0.7221 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.2512, allocations: 101 kB / 0.7222 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.2516, allocations: 0.6768 MB / 0.7229 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.517e-05/0.2517, allocations: 24.16 kB / 0.7229 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.2517, allocations: 7.438 kB / 0.7229 GB, free: 12.28 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2517, allocations: 0 / 0.7229 GB, free: 12.28 MB / 0.545 GB Notification: Performance of Templates: time 0.003559/0.2552, allocations: 0.5615 MB / 0.7235 GB, free: 11.72 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.125181143172085] Failed to read output from testmodel.py, exit status != 0: 0.26398836728185415 0.27885847599999997 0.029543330000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0d9f6fd7b0>