Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007841/0.0007841, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.000807/0.000807, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.9139/0.9139, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7831/0.7831, allocations: 203.8 MB / 0.5049 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009615/0.0009615, allocations: 62.28 kB / 0.7194 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4521, allocations: 102 MB / 0.8191 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001215/0.4534, allocations: 0.5908 MB / 0.8196 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002097/0.4536, allocations: 41.2 kB / 0.8197 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.4536, allocations: 0 / 0.8197 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.4536, allocations: 0 / 0.8197 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.345e-05/0.4537, allocations: 0.6094 kB / 0.8197 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.4539, allocations: 19.25 kB / 0.8197 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.4539, allocations: 5.781 kB / 0.8197 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.454, allocations: 0.6562 kB / 0.8197 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.889e-05/0.454, allocations: 4.672 kB / 0.8197 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.454, allocations: 0.5625 kB / 0.8197 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.454, allocations: 0 / 0.8197 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.4541, allocations: 26.44 kB / 0.8197 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.4541, allocations: 2.438 kB / 0.8197 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.4542, allocations: 3.938 kB / 0.8197 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.383e-05/0.4542, allocations: 30.58 kB / 0.8198 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4542, allocations: 1.891 kB / 0.8198 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4542, allocations: 0 / 0.8198 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4543, allocations: 0 / 0.8198 GB, free: 0.8828 MB / 0.6042 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.0002244/0.4545, allocations: 280.2 kB / 0.82 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4545, allocations: 13.47 kB / 0.82 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4545, allocations: 4.719 kB / 0.82 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.236e-05/0.4546, allocations: 111.1 kB / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4546, allocations: 384 / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.4546, allocations: 1.719 kB / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.4547, allocations: 82.16 kB / 0.8202 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4547, allocations: 0.8438 kB / 0.8202 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.4547, allocations: 3.938 kB / 0.8202 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.4547, allocations: 7.062 kB / 0.8202 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.4548, allocations: 49.73 kB / 0.8203 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.455, allocations: 222.3 kB / 0.8205 GB, free: 128 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.455, allocations: 46.38 kB / 0.8205 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.4551, allocations: 34.31 kB / 0.8206 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.4551, allocations: 4 kB / 0.8206 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4551, allocations: 31.09 kB / 0.8206 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.4551, allocations: 2.125 kB / 0.8206 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.4552, allocations: 123 kB / 0.8207 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4553, allocations: 80.05 kB / 0.8208 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.4554, allocations: 127.8 kB / 0.8209 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.4554, allocations: 25.7 kB / 0.821 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.4554, allocations: 96.64 kB / 0.821 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.4554, allocations: 12.14 kB / 0.8211 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.4554, allocations: 21.88 kB / 0.8211 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.4555, allocations: 329 kB / 0.8214 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.4555, allocations: 36.44 kB / 0.8214 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.4556, allocations: 83.66 kB / 0.8215 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.358e-05/0.4557, allocations: 134.8 kB / 0.8216 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4557, allocations: 4 kB / 0.8216 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001055/0.4558, allocations: 147.2 kB / 0.8218 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4558, allocations: 31.92 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4558, allocations: 2.938 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4558, allocations: 4.219 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.4559, allocations: 9.797 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4559, allocations: 4.766 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.4559, allocations: 12.25 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4559, allocations: 7.406 kB / 0.8219 GB, free: 14.73 MB / 0.6198 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.366e-05/0.456, allocations: 149 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.456, allocations: 2.219 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.456, allocations: 10.8 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.456, allocations: 0 / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.456, allocations: 0 / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.456, allocations: 1.688 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.742e-05/0.4561, allocations: 113.4 kB / 0.8221 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4561, allocations: 0 / 0.8221 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.4561, allocations: 8 kB / 0.8221 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4561, allocations: 0.6094 kB / 0.8221 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4561, allocations: 3 kB / 0.8221 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.4561, allocations: 0 / 0.8221 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4561, allocations: 0.7969 kB / 0.8221 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.4562, allocations: 198.7 kB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.4562, allocations: 1.234 kB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.4562, allocations: 4.953 kB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.16e-05/0.4563, allocations: 0.7969 kB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4563, allocations: 0 / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.4563, allocations: 6.688 kB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.4563, allocations: 90.52 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4563, allocations: 0 / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001551/0.4565, allocations: 14.94 kB / 0.8224 GB, free: 14.12 MB / 0.6198 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.0001076/0.4566, allocations: 102.1 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.4567, allocations: 140.3 kB / 0.8227 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4567, allocations: 0.5 kB / 0.8227 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.4567, allocations: 86.14 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.4569, allocations: 6.531 kB / 0.8228 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.4571, allocations: 170.4 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.4571, allocations: 69.91 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.4571, allocations: 10.53 kB / 0.823 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.4571, allocations: 0 / 0.823 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.001617/0.4587, allocations: 0.6883 MB / 0.8237 GB, free: 13.49 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.792691993992776] Failed to read output from testmodel.py, exit status != 0: 0.46394010726362467 0.47369548400000006 0.017558118 Calling exit ...