Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.0008166/0.0008166, allocations: 80.88 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.001379/0.001379, 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.9658/0.9658, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.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.01667/0.01667, allocations: 2.26 MB / 262.5 MB, free: 10.65 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.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 280 MB, free: 9.156 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.818e-05, allocations: 2.312 kB / 280 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003871/0.003899, allocations: 1.655 MB / 281.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.006072, allocations: 1.177 MB / 282.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.006138, allocations: 0 / 282.9 MB, free: 6.301 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.006379, allocations: 27.8 kB / 282.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.00676, allocations: 103.5 kB / 283 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.134e-05/0.006801, allocations: 15.92 kB / 283 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.00687, allocations: 31.91 kB / 283 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.006958, allocations: 15.92 kB / 283 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.007017, allocations: 12 kB / 283.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.007109, allocations: 23.91 kB / 283.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.007124, allocations: 4 kB / 283.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.007338, allocations: 103.8 kB / 283.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.007352, allocations: 3.938 kB / 283.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.007372, allocations: 8 kB / 283.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.007604, allocations: 143.5 kB / 283.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.007609, allocations: 0 / 283.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.00761, allocations: 0 / 283.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.007614, allocations: 0 / 283.3 MB, free: 5.816 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003949/0.008009, allocations: 272.5 kB / 283.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.008045, allocations: 8.031 kB / 283.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.008076, allocations: 4.938 kB / 283.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.008234, allocations: 125.7 kB / 283.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.008244, allocations: 384 / 283.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.008253, allocations: 8.359 kB / 283.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.008364, allocations: 58.89 kB / 283.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.008372, allocations: 192 / 283.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.008381, allocations: 4.125 kB / 283.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.008386, allocations: 4 kB / 283.8 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.00841, allocations: 4 kB / 283.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.008651, allocations: 152.3 kB / 284 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.008798, allocations: 42.62 kB / 284 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.008822, allocations: 8.891 kB / 284 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.008838, allocations: 7.984 kB / 284 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.008865, allocations: 34.56 kB / 284.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.008867, allocations: 0 / 284.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.008994, allocations: 41.62 kB / 284.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.009025, allocations: 55.41 kB / 284.2 MB, free: 4.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/0.009109, allocations: 122.6 kB / 284.3 MB, free: 4.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.009121, allocations: 25.7 kB / 284.3 MB, free: 4.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.009154, allocations: 84.14 kB / 284.4 MB, free: 4.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.009175, allocations: 15.88 kB / 284.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.009206, allocations: 13.7 kB / 284.4 MB, free: 4.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.009299, allocations: 314.8 kB / 284.7 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.009312, allocations: 0 / 284.7 MB, free: 4.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.009323, allocations: 11.94 kB / 284.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.009359, allocations: 12.84 kB / 284.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00936, allocations: 0 / 284.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.752e-05/0.009438, allocations: 41.69 kB / 284.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.009455, allocations: 7.938 kB / 284.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.009459, allocations: 0 / 284.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.009473, allocations: 0 / 284.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.009534, allocations: 7.938 kB / 284.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009537, allocations: 4 kB / 284.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.009564, allocations: 11.92 kB / 284.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.00957, allocations: 0 / 284.8 MB, free: 4.184 MB / 266.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 (3): * Single equations (assignments): 3 * 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.324e-05/0.009643, allocations: 117.8 kB / 284.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.009671, allocations: 0 / 284.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.009698, allocations: 15.94 kB / 284.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.0097, allocations: 0 / 284.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.009702, allocations: 0 / 284.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.009708, allocations: 4.312 kB / 284.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.009836, allocations: 69.86 kB / 285 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.009838, allocations: 0 / 285 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.009878, allocations: 11.98 kB / 285 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009881, allocations: 0 / 285 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.009886, allocations: 4 kB / 285 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.00989, allocations: 4 kB / 285 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.009895, allocations: 7.922 kB / 285 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.01001, allocations: 135.5 kB / 285.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.01003, allocations: 4 kB / 285.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.01004, allocations: 0 / 285.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.0101, allocations: 11.98 kB / 285.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.01011, allocations: 3.938 kB / 285.2 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.01011, allocations: 0 / 285.2 MB, free: 3.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.658e-05/0.01014, allocations: 16.84 kB / 285.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01014, allocations: 0 / 285.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.01042, allocations: 43.81 kB / 285.3 MB, free: 3.699 MB / 266.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 (3): * Single equations (assignments): 3 * 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.001023/0.01145, allocations: 360.8 kB / 285.6 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.01152, allocations: 16.84 kB / 285.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.01152, allocations: 3.938 kB / 285.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.01154, allocations: 20.84 kB / 285.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01176, allocations: 8 kB / 285.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.01206, allocations: 132.4 kB / 285.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.0121, allocations: 55.36 kB / 285.8 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.01214, allocations: 7.984 kB / 285.8 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.01219, allocations: 51.38 kB / 285.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0122, allocations: 0 / 285.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Templates: time 0.00457/0.01677, allocations: 1.595 MB / 287.5 MB, free: 1.52 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.INITest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & ./ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.544680181425065]