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.001565/0.001565, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001595/0.001595, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.355/1.355, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.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.002322/0.002322, allocations: 283.2 kB / 303.6 MB, free: 3.605 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.021/1.021, allocations: 180.9 MB / 0.5268 GB, free: 2.711 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.002747/0.002747, allocations: 99.84 kB / 0.726 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.5011, allocations: 94.15 MB / 0.8179 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001784/0.5029, allocations: 0.5867 MB / 0.8185 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002478/0.5032, allocations: 39.02 kB / 0.8185 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.5032, allocations: 0 / 0.8185 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.5032, allocations: 0 / 0.8185 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.5032, allocations: 1.062 kB / 0.8185 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.5034, allocations: 20.22 kB / 0.8185 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.5035, allocations: 14.3 kB / 0.8185 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.5036, allocations: 2.062 kB / 0.8185 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.5036, allocations: 1.031 kB / 0.8185 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.5036, allocations: 8.078 kB / 0.8186 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.5036, allocations: 0.8125 kB / 0.8186 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.5037, allocations: 19.06 kB / 0.8186 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.5038, allocations: 2.75 kB / 0.8186 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.5038, allocations: 10.34 kB / 0.8186 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.5039, allocations: 27.38 kB / 0.8186 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5039, allocations: 8 kB / 0.8186 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5039, allocations: 0 / 0.8186 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5039, allocations: 1.438 kB / 0.8186 GB, free: 7.012 MB / 0.5762 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.0002656/0.5042, allocations: 346.6 kB / 0.819 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5042, allocations: 13.48 kB / 0.819 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.5043, allocations: 6.328 kB / 0.819 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.82e-05/0.5043, allocations: 164.4 kB / 0.8191 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5043, allocations: 2 kB / 0.8191 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.5043, allocations: 1.531 kB / 0.8191 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.5045, allocations: 62.23 kB / 0.8192 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.5045, allocations: 5.312 kB / 0.8192 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5045, allocations: 3.938 kB / 0.8192 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.5045, allocations: 6.547 kB / 0.8192 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.659e-05/0.5045, allocations: 23.22 kB / 0.8192 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.5048, allocations: 262.4 kB / 0.8195 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.5049, allocations: 16.61 kB / 0.8195 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.5049, allocations: 15.14 kB / 0.8195 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/0.5049, allocations: 3.328 kB / 0.8195 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.5049, allocations: 35.84 kB / 0.8195 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.5049, allocations: 0 / 0.8195 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.505, allocations: 61.34 kB / 0.8196 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.5051, allocations: 81.39 kB / 0.8197 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.5051, allocations: 114.4 kB / 0.8198 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.5051, allocations: 29.83 kB / 0.8198 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.5052, allocations: 110 kB / 0.8199 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.5052, allocations: 5 kB / 0.8199 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.5052, allocations: 25.61 kB / 0.82 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.5053, allocations: 319.9 kB / 0.8203 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.5053, allocations: 6.781 kB / 0.8203 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.341e-05/0.5053, allocations: 76.53 kB / 0.8203 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.5054, allocations: 123 kB / 0.8205 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5054, allocations: 8.75 kB / 0.8205 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001417/0.5056, allocations: 118 kB / 0.8206 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5056, allocations: 37.16 kB / 0.8206 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5056, allocations: 1.969 kB / 0.8206 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5056, allocations: 6.312 kB / 0.8206 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.5057, allocations: 14.44 kB / 0.8206 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5057, allocations: 2.875 kB / 0.8206 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.5058, allocations: 19.5 kB / 0.8207 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.5058, allocations: 5.312 kB / 0.8207 GB, free: 4.902 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 6.059e-05/0.5058, allocations: 144.6 kB / 0.8208 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.5059, allocations: 2.25 kB / 0.8208 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.5059, allocations: 6.297 kB / 0.8208 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.5059, allocations: 0 / 0.8208 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5059, allocations: 4 kB / 0.8208 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5059, allocations: 4.109 kB / 0.8208 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.506, allocations: 157.1 kB / 0.821 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.506, allocations: 0 / 0.821 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-06/0.506, allocations: 5.094 kB / 0.821 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.506, allocations: 0 / 0.821 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.506, allocations: 1.562 kB / 0.821 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.506, allocations: 0 / 0.821 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.506, allocations: 1.188 kB / 0.821 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.766e-05/0.5061, allocations: 167.7 kB / 0.8211 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.5061, allocations: 86.66 kB / 0.8212 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.5061, allocations: 1.062 kB / 0.8212 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.5062, allocations: 1.312 kB / 0.8212 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.5062, allocations: 1.281 kB / 0.8212 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5062, allocations: 2.906 kB / 0.8212 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.5062, allocations: 90.09 kB / 0.8213 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5062, allocations: 0 / 0.8213 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002426/0.5065, allocations: 17.38 kB / 0.8213 GB, free: 4.184 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.0001379/0.5066, allocations: 110.3 kB / 0.8214 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.5067, allocations: 86.02 kB / 0.8215 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5067, allocations: 0 / 0.8215 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.5067, allocations: 62.64 kB / 0.8216 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.5069, allocations: 13.28 kB / 0.8216 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.5072, allocations: 138.2 kB / 0.8217 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.366e-05/0.5073, allocations: 0.6767 MB / 0.8224 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.5073, allocations: 9.156 kB / 0.8224 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.5073, allocations: 0 / 0.8224 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of Templates: time 0.002256/0.5095, allocations: 0.6855 MB / 0.8231 GB, free: 3.059 MB / 0.5762 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.050765350926667] Failed to read output from testmodel.py, exit status != 0: 0.5169393108226359 0.528179766 0.021396830000000002 Calling exit ...