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.0009376/0.0009376, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001127/0.001127, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.001/1.001, allocations: 177.1 MB / 203.7 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.02375/0.02375, allocations: 2.262 MB / 262.5 MB, free: 10.61 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.794e-06/1.794e-06, allocations: 0 / 333.2 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.423e-05, allocations: 4.562 kB / 333.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001906/0.00193, allocations: 1.608 MB / 334.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.002869, allocations: 1.161 MB / 336 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.00293, allocations: 4 kB / 336 MB, free: 13.37 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.0002025/0.003132, allocations: 27.8 kB / 336 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.003449, allocations: 107.5 kB / 336.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.171e-05/0.003481, allocations: 11.97 kB / 336.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.00353, allocations: 31.92 kB / 336.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.003605, allocations: 7.938 kB / 336.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.003653, allocations: 23.86 kB / 336.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.003726, allocations: 19.97 kB / 336.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.003736, allocations: 0 / 336.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.003873, allocations: 99.8 kB / 336.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.003884, allocations: 7.984 kB / 336.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.003899, allocations: 11.94 kB / 336.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004056, allocations: 135.5 kB / 336.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004058, allocations: 0 / 336.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004059, allocations: 0 / 336.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.004063, allocations: 0 / 336.5 MB, free: 12.89 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.0003097/0.004372, allocations: 404.2 kB / 336.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.004409, allocations: 8.031 kB / 336.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.004438, allocations: 12.83 kB / 336.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.706e-05/0.004535, allocations: 120.6 kB / 337 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.004544, allocations: 4.375 kB / 337 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.00455, allocations: 384 / 337 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/0.004642, allocations: 54.95 kB / 337.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004648, allocations: 192 / 337.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.004655, allocations: 12.11 kB / 337.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.004661, allocations: 0 / 337.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.00468, allocations: 7.938 kB / 337.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.004857, allocations: 252.4 kB / 337.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.004962, allocations: 39.11 kB / 337.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.004979, allocations: 11.69 kB / 337.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.004994, allocations: 0 / 337.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.005013, allocations: 45.27 kB / 337.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005014, allocations: 4 kB / 337.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001178/0.005131, allocations: 45.78 kB / 337.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.439e-05/0.005146, allocations: 51.41 kB / 337.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.005193, allocations: 169.9 kB / 337.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-06/0.005197, allocations: 25.7 kB / 337.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.00522, allocations: 146.8 kB / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.005233, allocations: 3.953 kB / 337.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.005255, allocations: 23.38 kB / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.005295, allocations: 0.4884 MB / 338.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-06/0.005303, allocations: 4 kB / 338.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.005311, allocations: 11.94 kB / 338.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.005333, allocations: 11.97 kB / 338.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005334, allocations: 4 kB / 338.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.263e-05/0.005377, allocations: 49.62 kB / 338.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.005386, allocations: 7.938 kB / 338.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00539, allocations: 4 kB / 338.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.005401, allocations: 0 / 338.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-05/0.005436, allocations: 7.984 kB / 338.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.005439, allocations: 0 / 338.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.005453, allocations: 0 / 338.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-06/0.005456, allocations: 4 kB / 338.5 MB, free: 10.69 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 3.246e-05/0.005488, allocations: 160.5 kB / 338.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.005503, allocations: 11.88 kB / 338.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.005523, allocations: 8 kB / 338.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005525, allocations: 0 / 338.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005526, allocations: 0 / 338.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005529, allocations: 4 kB / 338.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.294e-05/0.005602, allocations: 97.25 kB / 338.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005603, allocations: 0 / 338.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.00562, allocations: 4 kB / 338.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005622, allocations: 4 kB / 338.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.005627, allocations: 7.984 kB / 338.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.005628, allocations: 3.938 kB / 338.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005629, allocations: 0 / 338.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.463e-05/0.005693, allocations: 199.8 kB / 339 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.005705, allocations: 7.938 kB / 339 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-06/0.005712, allocations: 0 / 339 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.005743, allocations: 7.938 kB / 339 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.005753, allocations: 7.984 kB / 339 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.005754, allocations: 0 / 339 MB, free: 10.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.038e-05/0.005775, allocations: 127.2 kB / 339.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005775, allocations: 0 / 339.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.005965, allocations: 43.81 kB / 339.2 MB, free: 9.945 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.0005554/0.00652, allocations: 339.1 kB / 339.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.95e-05/0.00659, allocations: 15.67 kB / 339.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.006592, allocations: 4 kB / 339.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.033e-05/0.006602, allocations: 23.61 kB / 339.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.006798, allocations: 7.984 kB / 339.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.007023, allocations: 132.3 kB / 339.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.483e-05/0.007048, allocations: 63.2 kB / 339.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.492e-05/0.007073, allocations: 4 kB / 339.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.007113, allocations: 78.19 kB / 339.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007113, allocations: 0 / 339.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of Templates: time 0.002813/0.009926, allocations: 1.588 MB / 341.4 MB, free: 7.723 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 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6100937770679593]