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.001183/0.001183, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009156/0.0009156, allocations: 181 kB / 23.36 MB, free: 1.133 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.9562/0.9562, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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-535:34: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-535:42: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.7687/0.7687, allocations: 154.9 MB / 415.1 MB, free: 208 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 480.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.915e-05, allocations: 4.109 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001376/0.001395, allocations: 0.6054 MB / 481 MB, free: 5.883 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001944/0.001589, allocations: 32.64 kB / 481.1 MB, free: 5.852 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.001608, allocations: 4 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.001637, allocations: 0.5625 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.285e-05/0.00167, allocations: 2.062 kB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.00185, allocations: 11.98 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.001908, allocations: 9.844 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.001939, allocations: 4.75 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.001972, allocations: 7.984 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.002009, allocations: 0 / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.002021, allocations: 0.5469 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.002089, allocations: 16.55 kB / 481.1 MB, free: 5.805 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.002118, allocations: 13.73 kB / 481.1 MB, free: 5.793 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.002132, allocations: 1.312 kB / 481.1 MB, free: 5.793 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.19e-05/0.002214, allocations: 33.05 kB / 481.2 MB, free: 5.762 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.002216, allocations: 0 / 481.2 MB, free: 5.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002216, allocations: 1.312 kB / 481.2 MB, free: 5.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.002219, allocations: 0 / 481.2 MB, free: 5.762 MB / 442.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.0002203/0.002439, allocations: 246.7 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.00247, allocations: 12.03 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.002496, allocations: 4.922 kB / 481.4 MB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.336e-05/0.002549, allocations: 107.2 kB / 481.5 MB, free: 5.348 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.002558, allocations: 384 / 481.5 MB, free: 5.348 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.002566, allocations: 1.531 kB / 481.5 MB, free: 5.348 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.112e-05/0.002657, allocations: 74.77 kB / 481.6 MB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.002663, allocations: 4.188 kB / 481.6 MB, free: 5.258 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.002668, allocations: 2.062 kB / 481.6 MB, free: 5.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.002692, allocations: 8.312 kB / 481.6 MB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.00272, allocations: 39.42 kB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.002916, allocations: 175.1 kB / 481.8 MB, free: 5.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.002955, allocations: 44.28 kB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.002971, allocations: 30.56 kB / 481.9 MB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-06/0.002974, allocations: 1.375 kB / 481.9 MB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.002996, allocations: 46.56 kB / 481.9 MB, free: 4.867 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.002997, allocations: 3.938 kB / 482 MB, free: 4.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001143/0.003111, allocations: 116.1 kB / 482.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.003144, allocations: 77.77 kB / 482.1 MB, free: 4.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.003205, allocations: 114.8 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.003215, allocations: 25.7 kB / 482.3 MB, free: 4.477 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.003259, allocations: 112.5 kB / 482.4 MB, free: 4.363 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.003265, allocations: 6.5 kB / 482.4 MB, free: 4.359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.003301, allocations: 17.67 kB / 482.4 MB, free: 4.336 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.003378, allocations: 323.7 kB / 482.7 MB, free: 4.012 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.003398, allocations: 33.69 kB / 482.8 MB, free: 3.973 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.45e-05/0.003443, allocations: 76.83 kB / 482.8 MB, free: 3.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.003517, allocations: 123.2 kB / 483 MB, free: 3.711 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.00352, allocations: 4.531 kB / 483 MB, free: 3.707 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.003627, allocations: 134.5 kB / 483.1 MB, free: 3.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.00365, allocations: 34.33 kB / 483.1 MB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.003655, allocations: 160 / 483.1 MB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.003666, allocations: 5.391 kB / 483.1 MB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.003718, allocations: 14.62 kB / 483.1 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.003722, allocations: 7.984 kB / 483.2 MB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.003771, allocations: 16.55 kB / 483.2 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.003782, allocations: 4 kB / 483.2 MB, free: 3.477 MB / 442.7 MB 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.051e-05/0.003842, allocations: 139 kB / 483.3 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.003863, allocations: 8.531 kB / 483.3 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.159e-05/0.003874, allocations: 8.281 kB / 483.3 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.003875, allocations: 0 / 483.3 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.003877, allocations: 7.938 kB / 483.3 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.003879, allocations: 1.75 kB / 483.3 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.129e-05/0.003971, allocations: 69.89 kB / 483.4 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003971, allocations: 0 / 483.4 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.003972, allocations: 0 / 483.4 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.003973, allocations: 2.078 kB / 483.4 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.003977, allocations: 0 / 483.4 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.003979, allocations: 3.938 kB / 483.4 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00398, allocations: 1 kB / 483.4 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/0.004066, allocations: 183 kB / 483.6 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.004075, allocations: 12.47 kB / 483.6 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.004084, allocations: 4.625 kB / 483.6 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.428e-05/0.004128, allocations: 7.922 kB / 483.6 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-06/0.004135, allocations: 1.188 kB / 483.6 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.004139, allocations: 4 kB / 483.6 MB, free: 2.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.206e-05/0.004152, allocations: 8.859 kB / 483.6 MB, free: 2.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004152, allocations: 2.672 kB / 483.6 MB, free: 2.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.004359, allocations: 8 kB / 483.6 MB, free: 2.961 MB / 442.7 MB 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 9.79e-05/0.004457, allocations: 92.34 kB / 483.7 MB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.00456, allocations: 137.2 kB / 483.9 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.004563, allocations: 0 / 483.9 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.004592, allocations: 87.16 kB / 483.9 MB, free: 2.598 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.004712, allocations: 8.656 kB / 484 MB, free: 2.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/0.004878, allocations: 132 kB / 484.1 MB, free: 2.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.004912, allocations: 59.88 kB / 484.1 MB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.838e-05/0.004931, allocations: 1.719 kB / 484.1 MB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.004979, allocations: 63.94 kB / 484.2 MB, free: 2.289 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.004979, allocations: 1.375 kB / 484.2 MB, free: 2.289 MB / 442.7 MB Notification: Performance of Templates: time 0.002059/0.007039, allocations: 0.5985 MB / 484.8 MB, free: 1.73 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5301262326538563]