Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0009305/0.0009305, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009116/0.0009116, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9379/0.9379, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7702/0.7702, allocations: 154.6 MB / 414.8 MB, free: 0.5508 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.113e-06/2.113e-06, allocations: 0 / 0.5208 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.168e-05, allocations: 9.438 kB / 0.5208 GB, free: 1.844 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001307/0.001329, allocations: 0.6042 MB / 0.5214 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002318/0.001561, allocations: 35.89 kB / 0.5214 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.001587, allocations: 0.5 kB / 0.5214 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.001622, allocations: 1.031 kB / 0.5214 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.001661, allocations: 0 / 0.5214 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.001877, allocations: 17.14 kB / 0.5215 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.001943, allocations: 8.75 kB / 0.5215 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.001976, allocations: 0 / 0.5215 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.002014, allocations: 5.391 kB / 0.5215 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.002056, allocations: 0 / 0.5215 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.002072, allocations: 1.531 kB / 0.5215 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.002148, allocations: 31.89 kB / 0.5215 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.002177, allocations: 4 kB / 0.5215 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.002192, allocations: 0 / 0.5215 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.551e-05/0.002278, allocations: 24.8 kB / 0.5215 GB, free: 1.137 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.002279, allocations: 0 / 0.5215 GB, free: 1.137 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00228, allocations: 0 / 0.5215 GB, free: 1.137 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.002284, allocations: 1.031 kB / 0.5215 GB, free: 1.137 MB / 490.7 MB 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.0002916/0.002575, allocations: 378 kB / 0.5219 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.002616, allocations: 9.125 kB / 0.5219 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.002644, allocations: 8.875 kB / 0.5219 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.941e-05/0.002704, allocations: 116.5 kB / 0.522 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.002713, allocations: 1.281 kB / 0.522 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.002721, allocations: 4.375 kB / 0.522 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.137e-05/0.002812, allocations: 59.97 kB / 0.5221 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.002819, allocations: 0.7188 kB / 0.5221 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.002825, allocations: 1.094 kB / 0.5221 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.002852, allocations: 8.359 kB / 0.5221 GB, free: 496 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.002879, allocations: 38.39 kB / 0.5221 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.003135, allocations: 256.7 kB / 0.5224 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.751e-05/0.003183, allocations: 57.2 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.0032, allocations: 34.23 kB / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.003208, allocations: 11.98 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.003244, allocations: 36.3 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.003245, allocations: 0 / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.00341, allocations: 126.7 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.003451, allocations: 77.11 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.003547, allocations: 177.9 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.00356, allocations: 25.7 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.003628, allocations: 158.6 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.003635, allocations: 1.094 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.003669, allocations: 27.38 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.003815, allocations: 496.1 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.003839, allocations: 34.25 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.003908, allocations: 107.8 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.003999, allocations: 147.1 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.004002, allocations: 0.9688 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001014/0.004103, allocations: 142.8 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.004129, allocations: 33.7 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.004134, allocations: 0 / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.004148, allocations: 4.875 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.004197, allocations: 15.98 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.004203, allocations: 5.25 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.004254, allocations: 11.88 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.004264, allocations: 4 kB / 0.524 GB, free: 14.23 MB / 0.4948 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 7.671e-05/0.004341, allocations: 185 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.004356, allocations: 15.83 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.004371, allocations: 15.05 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.004372, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.004375, allocations: 4 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004378, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.838e-05/0.004456, allocations: 97.25 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004457, allocations: 2.406 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.004458, allocations: 0 / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.004459, allocations: 0 / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.004464, allocations: 7.938 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004465, allocations: 0 / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004466, allocations: 0 / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.004571, allocations: 244 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.004577, allocations: 0 / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.004588, allocations: 12.89 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.004619, allocations: 4 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-06/0.004627, allocations: 0.6562 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.004631, allocations: 4 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.004675, allocations: 130.6 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004675, allocations: 0 / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001503/0.004825, allocations: 8 kB / 0.5247 GB, free: 13.46 MB / 0.4948 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.0001016/0.004927, allocations: 103.2 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.005031, allocations: 142.4 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005032, allocations: 2.812 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.005063, allocations: 92.73 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.005192, allocations: 3.984 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.005358, allocations: 142.1 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.005388, allocations: 55.34 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.007e-05/0.005408, allocations: 6.031 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.005457, allocations: 78.69 kB / 0.5253 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.005458, allocations: 0 / 0.5253 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.002263/0.007721, allocations: 0.5941 MB / 0.5259 GB, free: 12.17 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5830841111019254]