Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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.00082/0.00082, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002012, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009024/0.0009024, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002069, allocations: 475.6 kB / 11.8 MB, free: 2.375 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 1.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.107, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01011/0.01011, allocations: 2.247 MB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002707/0.01282, allocations: 1.433 MB / 247.8 MB, free: 11.06 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 249.1 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.714e-05, allocations: 2.312 kB / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001297/0.001314, allocations: 0.823 MB / 249.9 MB, free: 8.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.002267, allocations: 0.9004 MB / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.002295, allocations: 0 / 250.8 MB, free: 8.051 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:301:3-326:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.002399, allocations: 35.78 kB / 250.9 MB, free: 8.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.002486, allocations: 35.8 kB / 250.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.616e-06/0.002495, allocations: 0 / 250.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.002547, allocations: 15.94 kB / 250.9 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.002582, allocations: 3.984 kB / 250.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.002638, allocations: 15.98 kB / 250.9 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.002688, allocations: 7.938 kB / 250.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.002698, allocations: 0 / 250.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-05/0.00274, allocations: 12 kB / 250.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.002755, allocations: 4 kB / 251 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.002771, allocations: 7.938 kB / 251 MB, free: 7.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.002877, allocations: 31.89 kB / 251 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.002887, allocations: 4 kB / 251 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.002888, allocations: 0 / 251 MB, free: 7.879 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.002896, allocations: 0 / 251 MB, free: 7.879 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002601/0.003157, allocations: 236.5 kB / 251.2 MB, free: 7.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.00319, allocations: 8.031 kB / 251.2 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.003216, allocations: 4.938 kB / 251.2 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.003321, allocations: 117.7 kB / 251.4 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.003331, allocations: 384 / 251.4 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.003339, allocations: 384 / 251.4 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.003412, allocations: 43.97 kB / 251.4 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.003418, allocations: 4.188 kB / 251.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.003424, allocations: 384 / 251.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003429, allocations: 4.375 kB / 251.4 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-06/0.003439, allocations: 15.8 kB / 251.4 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.003645, allocations: 375.1 kB / 251.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.003711, allocations: 173.1 kB / 252 MB, free: 6.824 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.003744, allocations: 84.12 kB / 252 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.003763, allocations: 75.28 kB / 252.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.003806, allocations: 113.9 kB / 252.2 MB, free: 6.543 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.32e-07/0.003807, allocations: 0 / 252.2 MB, free: 6.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 6.01e-05/0.003867, allocations: 41.64 kB / 252.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.003914, allocations: 126.7 kB / 252.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.833e-05/0.003992, allocations: 110.7 kB / 252.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.004, allocations: 25.7 kB / 252.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.004033, allocations: 92.03 kB / 252.6 MB, free: 6.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.011e-06/0.004034, allocations: 0 / 252.6 MB, free: 6.113 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.004049, allocations: 13.7 kB / 252.6 MB, free: 6.094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.004129, allocations: 318.8 kB / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.004132, allocations: 0 / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-06/0.004136, allocations: 0 / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.727e-05/0.004153, allocations: 75.28 kB / 253 MB, free: 5.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.00417, allocations: 79.28 kB / 253.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.318e-05/0.004203, allocations: 29.7 kB / 253.1 MB, free: 5.586 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.004227, allocations: 79.28 kB / 253.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.004247, allocations: 83.22 kB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.583e-05/0.004293, allocations: 154.5 kB / 253.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.047e-05/0.004314, allocations: 79.28 kB / 253.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.196e-05/0.004356, allocations: 162.5 kB / 253.7 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.004398, allocations: 75.28 kB / 253.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.004414, allocations: 79.22 kB / 253.8 MB, free: 4.883 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.044e-05/0.004484, allocations: 264.4 kB / 254.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.004516, allocations: 101 kB / 254.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.004551, allocations: 116.6 kB / 254.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/0.004589, allocations: 184.2 kB / 254.5 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/0.004628, allocations: 180.5 kB / 254.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/0.00467, allocations: 184.2 kB / 254.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.004815, allocations: 325.4 kB / 255.1 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/0.004845, allocations: 104.9 kB / 255.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.004879, allocations: 105 kB / 255.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.004919, allocations: 108.9 kB / 255.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.365e-05/0.004973, allocations: 184.2 kB / 255.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.005027, allocations: 188.3 kB / 255.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.218e-05/0.005079, allocations: 180.2 kB / 256 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-05/0.005132, allocations: 180.2 kB / 256.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.005249, allocations: 307.8 kB / 256.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.005309, allocations: 176.3 kB / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.005365, allocations: 108.9 kB / 256.7 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.005422, allocations: 180.3 kB / 256.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.005453, allocations: 104.9 kB / 257 MB, free: 1.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.005484, allocations: 24.77 kB / 257 MB, free: 1.469 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005484, allocations: 0 / 257 MB, free: 1.469 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.005631, allocations: 7.938 kB / 257.1 MB, free: 1.461 MB / 250.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0005171/0.006148, allocations: 280.4 kB / 257.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.002e-05/0.006188, allocations: 0 / 257.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.006192, allocations: 0 / 257.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.006195, allocations: 0 / 257.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.006949, allocations: 0.4884 MB / 257.8 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.007192, allocations: 172.3 kB / 258 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.635e-05/0.007228, allocations: 59.34 kB / 258 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.007244, allocations: 4 kB / 258 MB, free: 472 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.007284, allocations: 51.38 kB / 258.1 MB, free: 420 kB / 250.7 MB Notification: Performance of SimCode: time 1.232e-06/0.007285, allocations: 0 / 258.1 MB, free: 420 kB / 250.7 MB Notification: Performance of Templates: time 0.002436/0.009721, allocations: 0.6142 MB / 258.7 MB, free: 15.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & ./ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.457739857956767]