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.0009087/0.0009087, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009819/0.0009819, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8988/0.8988, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-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.7201/0.7201, allocations: 154.6 MB / 414.5 MB, free: 0.8359 MB / 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.583e-06/1.583e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.422e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001222/0.001246, allocations: 0.5918 MB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001926/0.001439, allocations: 35.83 kB / 0.62 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.001458, allocations: 0 / 0.62 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.001484, allocations: 0 / 0.62 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.001522, allocations: 7.984 kB / 0.62 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.001727, allocations: 15.94 kB / 0.62 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.001797, allocations: 7.984 kB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.001833, allocations: 3.938 kB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.001863, allocations: 0 / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.001904, allocations: 4 kB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.001918, allocations: 0 / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.001983, allocations: 19.97 kB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.002014, allocations: 11.98 kB / 0.62 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.002034, allocations: 3.938 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.869e-05/0.002123, allocations: 19.98 kB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002125, allocations: 4 kB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.044e-06/0.002127, allocations: 3.984 kB / 0.6201 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002131, allocations: 0 / 0.6201 GB, free: 12.46 MB / 0.5886 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.0002473/0.002379, allocations: 272.1 kB / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.002411, allocations: 9.469 kB / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.002442, allocations: 8.922 kB / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.935e-05/0.002492, allocations: 101.8 kB / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.002501, allocations: 384 / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.00251, allocations: 4.375 kB / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.002625, allocations: 91.81 kB / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.002632, allocations: 4.172 kB / 0.6205 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.00264, allocations: 4.375 kB / 0.6205 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.00266, allocations: 4.375 kB / 0.6205 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.102e-05/0.002701, allocations: 53.62 kB / 0.6206 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.002942, allocations: 216.5 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.002986, allocations: 48.22 kB / 0.6208 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.003003, allocations: 30.56 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.00301, allocations: 4 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.003029, allocations: 34.56 kB / 0.6209 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.003029, allocations: 3.938 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.003174, allocations: 130.8 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.003205, allocations: 77.11 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.003265, allocations: 117.8 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.003272, allocations: 25.7 kB / 0.6212 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.00331, allocations: 103.9 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.003316, allocations: 3.953 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.003345, allocations: 25.72 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.003411, allocations: 318.8 kB / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.003436, allocations: 37.64 kB / 0.6217 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.003484, allocations: 88.56 kB / 0.6218 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.299e-05/0.003557, allocations: 130.3 kB / 0.6219 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.003559, allocations: 0 / 0.6219 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.845e-05/0.003658, allocations: 153 kB / 0.6221 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.003685, allocations: 37.69 kB / 0.6221 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.00369, allocations: 0 / 0.6221 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.003701, allocations: 4 kB / 0.6221 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.003751, allocations: 11.94 kB / 0.6221 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.003757, allocations: 4 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.003805, allocations: 4 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.003818, allocations: 8.469 kB / 0.6221 GB, free: 10.01 MB / 0.5886 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 5.891e-05/0.003877, allocations: 148.5 kB / 0.6223 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.003891, allocations: 12.02 kB / 0.6223 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.061e-05/0.003902, allocations: 7.469 kB / 0.6223 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.003903, allocations: 0 / 0.6223 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.003907, allocations: 0 / 0.6223 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.003909, allocations: 0 / 0.6223 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.538e-05/0.003984, allocations: 113.3 kB / 0.6224 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.003985, allocations: 0 / 0.6224 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.003986, allocations: 3.938 kB / 0.6224 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.003987, allocations: 4 kB / 0.6224 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.003994, allocations: 4 kB / 0.6224 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003994, allocations: 3.938 kB / 0.6224 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.003995, allocations: 4 kB / 0.6224 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.104e-05/0.004076, allocations: 187 kB / 0.6226 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.004084, allocations: 7.938 kB / 0.6226 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.004093, allocations: 7.922 kB / 0.6226 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.004128, allocations: 4 kB / 0.6226 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.004138, allocations: 0 / 0.6226 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.00414, allocations: 0 / 0.6226 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.004171, allocations: 95.25 kB / 0.6227 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004171, allocations: 0 / 0.6227 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001578/0.004329, allocations: 12 kB / 0.6227 GB, free: 9.332 MB / 0.5886 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.0001101/0.004439, allocations: 103.3 kB / 0.6228 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.004548, allocations: 138.7 kB / 0.6229 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.00455, allocations: 0 / 0.6229 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.004575, allocations: 89.09 kB / 0.623 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.004713, allocations: 0 / 0.623 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.004908, allocations: 160.3 kB / 0.6232 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.004949, allocations: 59.91 kB / 0.6232 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.004964, allocations: 16.5 kB / 0.6233 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/0.004965, allocations: 0 / 0.6233 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.001483/0.006447, allocations: 0.7016 MB / 0.6239 GB, free: 7.965 MB / 0.5886 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.206750588491559] Failed to read output from testmodel.py, exit status != 0: 0.012058612890541553 0.020307066000000002 0.016390143 Calling exit ...