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.001394/0.001394, 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.001661/0.001661, 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 1.026/1.026, 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 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.7864/0.7864, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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 6.41e-07/6.41e-07, allocations: 0 / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.159e-05, allocations: 2.312 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001059/0.00107, allocations: 0.6138 MB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.001186, allocations: 32.98 kB / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.001199, allocations: 0 / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.001212, allocations: 0.5938 kB / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 1.968e-05/0.001232, allocations: 5.094 kB / 480.7 MB, free: 6.203 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.001343, allocations: 15.92 kB / 480.7 MB, free: 6.188 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.001389, allocations: 1.531 kB / 480.7 MB, free: 6.188 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.651e-05/0.001415, allocations: 7.984 kB / 480.7 MB, free: 6.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.413e-05/0.001439, allocations: 1.078 kB / 480.7 MB, free: 6.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.001469, allocations: 8 kB / 480.7 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.001479, allocations: 2.25 kB / 480.7 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.001534, allocations: 19.97 kB / 480.8 MB, free: 6.152 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.001553, allocations: 4.547 kB / 480.8 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.246e-05/0.001565, allocations: 7.125 kB / 480.8 MB, free: 6.145 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.188e-05/0.001627, allocations: 24.58 kB / 480.8 MB, free: 6.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.001629, allocations: 0 / 480.8 MB, free: 6.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001629, allocations: 0.5469 kB / 480.8 MB, free: 6.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.224e-06/0.001631, allocations: 0 / 480.8 MB, free: 6.121 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.0002133/0.001845, allocations: 250.7 kB / 481 MB, free: 5.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.001877, allocations: 9.031 kB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.001904, allocations: 6.141 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.003e-05/0.001964, allocations: 105.8 kB / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.00198, allocations: 12.97 kB / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.00199, allocations: 384 / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.276e-05/0.002073, allocations: 64.08 kB / 481.2 MB, free: 5.621 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.002078, allocations: 192 / 481.2 MB, free: 5.621 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-06/0.002084, allocations: 384 / 481.2 MB, free: 5.621 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.002107, allocations: 13.92 kB / 481.3 MB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.817e-05/0.002135, allocations: 37.64 kB / 481.3 MB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.002303, allocations: 175.1 kB / 481.5 MB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.002341, allocations: 52.3 kB / 481.5 MB, free: 5.312 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.002364, allocations: 37.72 kB / 481.5 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-06/0.002367, allocations: 0 / 481.5 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.002389, allocations: 38.56 kB / 481.6 MB, free: 5.223 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.00239, allocations: 0 / 481.6 MB, free: 5.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.843e-05/0.002489, allocations: 114.8 kB / 481.7 MB, free: 5.086 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.002523, allocations: 81.92 kB / 481.8 MB, free: 4.988 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.002581, allocations: 111.7 kB / 481.9 MB, free: 4.867 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.00259, allocations: 25.7 kB / 481.9 MB, free: 4.836 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.002632, allocations: 107.9 kB / 482 MB, free: 4.727 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.002639, allocations: 4.609 kB / 482 MB, free: 4.723 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.002668, allocations: 29.66 kB / 482 MB, free: 4.688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.002746, allocations: 315.8 kB / 482.4 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.002762, allocations: 33.69 kB / 482.4 MB, free: 4.332 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.0028, allocations: 77.64 kB / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.179e-05/0.002861, allocations: 128.1 kB / 482.6 MB, free: 4.066 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.002863, allocations: 0.625 kB / 482.6 MB, free: 4.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.752e-05/0.00294, allocations: 131.3 kB / 482.7 MB, free: 3.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.002962, allocations: 39.47 kB / 482.8 MB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.002966, allocations: 4 kB / 482.8 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.002973, allocations: 4 kB / 482.8 MB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.96e-05/0.003002, allocations: 8.656 kB / 482.8 MB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.003006, allocations: 4.906 kB / 482.8 MB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.003037, allocations: 7.938 kB / 482.8 MB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.003051, allocations: 5 kB / 482.8 MB, free: 3.848 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.118e-05/0.003112, allocations: 154.3 kB / 482.9 MB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.003127, allocations: 8.688 kB / 483 MB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.735e-06/0.003134, allocations: 4.953 kB / 483 MB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.003135, allocations: 1.562 kB / 483 MB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.003137, allocations: 4 kB / 483 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.003138, allocations: 0 / 483 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.423e-05/0.003203, allocations: 65.89 kB / 483 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.003203, allocations: 0.9688 kB / 483 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.003204, allocations: 1.172 kB / 483 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.003206, allocations: 5.312 kB / 483 MB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.00321, allocations: 0.8438 kB / 483 MB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.003213, allocations: 7.922 kB / 483 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.003213, allocations: 0.9688 kB / 483 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.237e-05/0.003295, allocations: 186.9 kB / 483.2 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-06/0.003301, allocations: 9.859 kB / 483.2 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-06/0.003306, allocations: 0 / 483.2 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.756e-05/0.003334, allocations: 7.938 kB / 483.2 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-06/0.003342, allocations: 3.984 kB / 483.2 MB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.003344, allocations: 0 / 483.2 MB, free: 3.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.243e-05/0.003357, allocations: 17.59 kB / 483.3 MB, free: 3.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003357, allocations: 0 / 483.3 MB, free: 3.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.00349, allocations: 13.67 kB / 483.3 MB, free: 3.309 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 7.747e-05/0.003568, allocations: 85.72 kB / 483.4 MB, free: 3.219 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.211e-05/0.00366, allocations: 132.7 kB / 483.5 MB, free: 3.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.003663, allocations: 8 kB / 483.5 MB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.949e-05/0.003693, allocations: 94.78 kB / 483.6 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.907e-05/0.003762, allocations: 0 / 483.6 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001457/0.003907, allocations: 136.5 kB / 483.7 MB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.02e-05/0.003938, allocations: 55.34 kB / 483.8 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.003955, allocations: 6.078 kB / 483.8 MB, free: 2.699 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.004, allocations: 56.81 kB / 483.8 MB, free: 2.645 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.004, allocations: 0.6875 kB / 483.8 MB, free: 2.645 MB / 442.7 MB Notification: Performance of Templates: time 0.001827/0.005827, allocations: 0.597 MB / 484.4 MB, free: 2.082 MB / 442.7 MB " [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.6322374437004328]