Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001313/0.001313, allocations: 110.1 kB / 19.58 MB, free: 2.336 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.001434/0.001434, allocations: 188.4 kB / 22.85 MB, free: 5.641 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.423/1.423, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 296.1 kB / 307 MB, free: 8.457 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.251/1.251, allocations: 180.8 MB / 0.5304 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 99.89 kB / 0.7311 GB, free: 38.61 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2046, allocations: 94.2 MB / 0.8231 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002302/0.2069, allocations: 0.5998 MB / 0.8237 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.2072, allocations: 39.88 kB / 0.8237 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.2072, allocations: 0 / 0.8237 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.2073, allocations: 3.938 kB / 0.8237 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.2073, allocations: 0 / 0.8237 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.2076, allocations: 7.984 kB / 0.8237 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.2077, allocations: 11.98 kB / 0.8237 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.2077, allocations: 4 kB / 0.8237 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.2078, allocations: 11.92 kB / 0.8238 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.2078, allocations: 3.938 kB / 0.8238 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2079, allocations: 0 / 0.8238 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.2079, allocations: 19.98 kB / 0.8238 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.208, allocations: 4 kB / 0.8238 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.208, allocations: 7.922 kB / 0.8238 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2081, allocations: 27.86 kB / 0.8238 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2081, allocations: 0 / 0.8238 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2081, allocations: 3.938 kB / 0.8238 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2082, allocations: 0 / 0.8238 GB, free: 1.266 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004595/0.2086, allocations: 280.5 kB / 0.8241 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2087, allocations: 8.625 kB / 0.8241 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.2087, allocations: 8.891 kB / 0.8241 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.2088, allocations: 102.5 kB / 0.8242 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2088, allocations: 384 / 0.8242 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.2088, allocations: 4.375 kB / 0.8242 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.209, allocations: 54.25 kB / 0.8243 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.209, allocations: 192 / 0.8243 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.209, allocations: 3.938 kB / 0.8243 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.209, allocations: 11.98 kB / 0.8243 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.2091, allocations: 27.92 kB / 0.8243 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.2095, allocations: 243.8 kB / 0.8245 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.2096, allocations: 14.58 kB / 0.8246 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.2096, allocations: 12.91 kB / 0.8246 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.2096, allocations: 0 / 0.8246 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2096, allocations: 34.56 kB / 0.8246 GB, free: 352 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.2096, allocations: 0 / 0.8246 GB, free: 352 kB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002157/0.2099, allocations: 71.34 kB / 0.8247 GB, free: 268 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.2099, allocations: 77.11 kB / 0.8247 GB, free: 172 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.21, allocations: 113.8 kB / 0.8248 GB, free: 48 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2101, allocations: 25.7 kB / 0.8249 GB, free: 16 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.2101, allocations: 112 kB / 0.825 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/0.2102, allocations: 0 / 0.825 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.2102, allocations: 33.78 kB / 0.825 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2104, allocations: 318.8 kB / 0.8253 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.2104, allocations: 11.98 kB / 0.8253 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.2105, allocations: 62.8 kB / 0.8254 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2106, allocations: 126.2 kB / 0.8255 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2106, allocations: 4 kB / 0.8255 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001844/0.2108, allocations: 123.1 kB / 0.8256 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.2109, allocations: 29.7 kB / 0.8257 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2109, allocations: 7.938 kB / 0.8257 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2109, allocations: 0 / 0.8257 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.211, allocations: 16 kB / 0.8257 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.211, allocations: 11.92 kB / 0.8257 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.211, allocations: 12.2 kB / 0.8257 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.2111, allocations: 8 kB / 0.8257 GB, free: 15.06 MB / 0.5762 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.0001702/0.2112, allocations: 148.7 kB / 0.8259 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.2113, allocations: 4 kB / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.839e-05/0.2113, allocations: 3.469 kB / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2113, allocations: 3.984 kB / 0.8259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2113, allocations: 4 kB / 0.8259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2113, allocations: 3.984 kB / 0.8259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2114, allocations: 128.7 kB / 0.826 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2114, allocations: 4 kB / 0.826 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.2114, allocations: 0 / 0.826 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2114, allocations: 0 / 0.826 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.2115, allocations: 0 / 0.826 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2115, allocations: 4 kB / 0.826 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2115, allocations: 0 / 0.826 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.2116, allocations: 169.1 kB / 0.8262 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.2116, allocations: 3.953 kB / 0.8262 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2116, allocations: 4.031 kB / 0.8262 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.869e-05/0.2117, allocations: 4 kB / 0.8262 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.2117, allocations: 0 / 0.8262 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2117, allocations: 0 / 0.8262 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.844e-05/0.2118, allocations: 91.73 kB / 0.8263 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2118, allocations: 0 / 0.8263 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000252/0.212, allocations: 15.94 kB / 0.8263 GB, free: 14.39 MB / 0.5762 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.0001872/0.2122, allocations: 99.25 kB / 0.8264 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.2124, allocations: 95.25 kB / 0.8265 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2124, allocations: 0 / 0.8265 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.2124, allocations: 55.41 kB / 0.8265 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2127, allocations: 6.812 kB / 0.8265 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.2129, allocations: 105 kB / 0.8266 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.2134, allocations: 0.6768 MB / 0.8273 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.2135, allocations: 20.3 kB / 0.8273 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.2135, allocations: 11.44 kB / 0.8273 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2135, allocations: 0 / 0.8273 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.003328/0.2168, allocations: 0.5733 MB / 0.8279 GB, free: 12.69 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.072442491000402] Failed to read output from testmodel.py, exit status != 0: 0.2254314300007536 0.241415451 0.030009836 Calling exit ...