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.0009312/0.0009312, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009758/0.0009758, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9679/0.9679, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.01001/0.01001, allocations: 2.269 MB / 263.3 MB, free: 10.62 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.222e-06/1.222e-06, allocations: 0 / 334 MB, free: 1.238 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.16e-05, allocations: 2.312 kB / 334 MB, free: 1.234 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001944/0.001955, allocations: 1.622 MB / 335.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.002929, allocations: 1.154 MB / 336.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.002982, allocations: 3.938 kB / 336.8 MB, free: 14.43 MB / 314.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.0001771/0.003159, allocations: 27.84 kB / 336.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.003419, allocations: 107.5 kB / 336.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.114e-05/0.00345, allocations: 8 kB / 336.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.003505, allocations: 39.84 kB / 337 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.003574, allocations: 11.94 kB / 337 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.003621, allocations: 19.92 kB / 337 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.003687, allocations: 15.97 kB / 337 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.003697, allocations: 4 kB / 337 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.003824, allocations: 103.7 kB / 337.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.003834, allocations: 0 / 337.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.003852, allocations: 19.91 kB / 337.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.00401, allocations: 119.6 kB / 337.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004013, allocations: 4 kB / 337.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004013, allocations: 4 kB / 337.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004016, allocations: 0 / 337.3 MB, free: 13.96 MB / 314.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.0003042/0.00432, allocations: 404.2 kB / 337.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.004349, allocations: 8.031 kB / 337.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.004373, allocations: 8.891 kB / 337.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.004481, allocations: 128.5 kB / 337.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.004489, allocations: 4.375 kB / 337.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.004495, allocations: 4.375 kB / 337.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.035e-05/0.004565, allocations: 50.95 kB / 337.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-06/0.00457, allocations: 192 / 337.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.004576, allocations: 8.125 kB / 337.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.00458, allocations: 7.938 kB / 337.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.004597, allocations: 7.984 kB / 337.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.004785, allocations: 244.4 kB / 338.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.004877, allocations: 43.11 kB / 338.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.004891, allocations: 7.688 kB / 338.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.0049, allocations: 96 / 338.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004918, allocations: 45.31 kB / 338.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.004918, allocations: 0 / 338.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 9.925e-05/0.005018, allocations: 49.64 kB / 338.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.005043, allocations: 55.39 kB / 338.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.005111, allocations: 173.9 kB / 338.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005121, allocations: 25.7 kB / 338.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.005162, allocations: 138.9 kB / 338.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.005177, allocations: 3.953 kB / 338.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.005204, allocations: 27.36 kB / 338.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.00531, allocations: 496.1 kB / 339.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-06/0.005317, allocations: 4 kB / 339.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.005327, allocations: 0 / 339.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.005351, allocations: 23.89 kB / 339.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005353, allocations: 4 kB / 339.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.885e-05/0.005401, allocations: 49.62 kB / 339.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005414, allocations: 14.91 kB / 339.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005417, allocations: 0 / 339.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.005423, allocations: 0 / 339.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.908e-05/0.005452, allocations: 4 kB / 339.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.005454, allocations: 0 / 339.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.00547, allocations: 4 kB / 339.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.005473, allocations: 0 / 339.3 MB, free: 11.76 MB / 314.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 4.933e-05/0.005523, allocations: 152.6 kB / 339.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.005542, allocations: 15.89 kB / 339.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.00556, allocations: 11.98 kB / 339.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005562, allocations: 4 kB / 339.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.005563, allocations: 0 / 339.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.005565, allocations: 0 / 339.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.58e-05/0.005651, allocations: 105.2 kB / 339.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005652, allocations: 0 / 339.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.005667, allocations: 11.94 kB / 339.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.41e-07/0.005667, allocations: 0 / 339.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005673, allocations: 4 kB / 339.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.005674, allocations: 3.938 kB / 339.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.005675, allocations: 4 kB / 339.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.005752, allocations: 187.9 kB / 339.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.005764, allocations: 11.89 kB / 339.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.005773, allocations: 3.984 kB / 339.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.005802, allocations: 11.94 kB / 339.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-06/0.005811, allocations: 0 / 339.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.005812, allocations: 0 / 339.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.005852, allocations: 135.1 kB / 339.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005852, allocations: 0 / 339.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.006083, allocations: 39.86 kB / 340 MB, free: 11.01 MB / 314.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.0006188/0.006701, allocations: 331.1 kB / 340.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.595e-05/0.006767, allocations: 23.67 kB / 340.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006769, allocations: 0 / 340.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.006778, allocations: 11.69 kB / 340.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.006954, allocations: 7.938 kB / 340.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.007154, allocations: 142.6 kB / 340.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.868e-05/0.007183, allocations: 55.36 kB / 340.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.178e-05/0.007205, allocations: 8.234 kB / 340.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.007252, allocations: 74.2 kB / 340.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007252, allocations: 0 / 340.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Templates: time 0.002962/0.01021, allocations: 1.595 MB / 342.2 MB, free: 8.785 MB / 314.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 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7484677280299366]