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.0006747/0.0006747, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008358/0.00151, allocations: 435.8 kB / 10.33 MB, free: 368 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.002019/0.002019, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.003104, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9436/0.9436, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07843/1.022, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.008034/0.008034, allocations: 2.248 MB / 246.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001881/0.009915, allocations: 1.42 MB / 247.6 MB, free: 11.15 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.383e-06/1.383e-06, allocations: 0 / 248.9 MB, free: 9.891 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.047e-05, allocations: 2.312 kB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003029/0.003049, allocations: 1.663 MB / 250.6 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.00452, allocations: 1.181 MB / 251.7 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.004565, allocations: 3.938 kB / 251.7 MB, free: 7.023 MB / 250.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.00013/0.004695, allocations: 27.92 kB / 251.8 MB, free: 6.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.00502, allocations: 107.4 kB / 251.9 MB, free: 6.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.458e-05/0.005055, allocations: 7.984 kB / 251.9 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.79e-05/0.005122, allocations: 35.86 kB / 251.9 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.568e-05/0.005198, allocations: 8 kB / 251.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.005275, allocations: 31.91 kB / 252 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.00535, allocations: 7.984 kB / 252 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.005363, allocations: 4 kB / 252 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.005573, allocations: 107.8 kB / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.005585, allocations: 7.938 kB / 252.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.005601, allocations: 8 kB / 252.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.005813, allocations: 115.6 kB / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.005827, allocations: 0 / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005828, allocations: 0 / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.005843, allocations: 4 kB / 252.2 MB, free: 6.559 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005347/0.006378, allocations: 292.1 kB / 252.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.00641, allocations: 8.031 kB / 252.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.006442, allocations: 8.922 kB / 252.5 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.006571, allocations: 121.7 kB / 252.6 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.006579, allocations: 384 / 252.6 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.006586, allocations: 4.375 kB / 252.6 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.006689, allocations: 62.92 kB / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006697, allocations: 192 / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.006706, allocations: 8.125 kB / 252.7 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006711, allocations: 0 / 252.7 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.006737, allocations: 8 kB / 252.7 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.006956, allocations: 156.2 kB / 252.9 MB, free: 5.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.007087, allocations: 38.5 kB / 252.9 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.007111, allocations: 8.859 kB / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.007122, allocations: 8 kB / 252.9 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.007148, allocations: 34.64 kB / 253 MB, free: 5.723 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.007149, allocations: 0 / 253 MB, free: 5.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001275/0.007277, allocations: 53.62 kB / 253 MB, free: 5.664 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.007308, allocations: 51.41 kB / 253.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.007384, allocations: 114.7 kB / 253.2 MB, free: 5.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.007394, allocations: 25.7 kB / 253.2 MB, free: 5.445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.007428, allocations: 92.08 kB / 253.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.007445, allocations: 7.891 kB / 253.3 MB, free: 5.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.007482, allocations: 21.7 kB / 253.3 MB, free: 5.316 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.007572, allocations: 322.8 kB / 253.6 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.007585, allocations: 4 kB / 253.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-06/0.007594, allocations: 0 / 253.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.007624, allocations: 16.84 kB / 253.6 MB, free: 4.969 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.007626, allocations: 0 / 253.6 MB, free: 4.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.255e-05/0.007688, allocations: 41.62 kB / 253.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007703, allocations: 11.53 kB / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007708, allocations: 0 / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.007717, allocations: 0 / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.00777, allocations: 8 kB / 253.7 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007773, allocations: 0 / 253.7 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.007795, allocations: 7.984 kB / 253.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.0078, allocations: 4 kB / 253.7 MB, free: 4.895 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 (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 5.718e-05/0.007857, allocations: 105.8 kB / 253.8 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.007883, allocations: 8 kB / 253.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.007909, allocations: 7.938 kB / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00791, allocations: 0 / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007912, allocations: 0 / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007915, allocations: 0 / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.008044, allocations: 77.88 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.008045, allocations: 0 / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.008079, allocations: 12.33 kB / 253.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.008094, allocations: 11.94 kB / 253.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008096, allocations: 7.875 kB / 253.9 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.008101, allocations: 3.938 kB / 254 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.008103, allocations: 4 kB / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.008107, allocations: 3.984 kB / 254 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.119e-05/0.008199, allocations: 127.5 kB / 254.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.008212, allocations: 8 kB / 254.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.008264, allocations: 3.984 kB / 254.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.008275, allocations: 3.938 kB / 254.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.008278, allocations: 0 / 254.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.115e-05/0.008299, allocations: 20.84 kB / 254.1 MB, free: 4.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008299, allocations: 0 / 254.1 MB, free: 4.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00027/0.008569, allocations: 39.81 kB / 254.2 MB, free: 4.41 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 (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.001107/0.009677, allocations: 410 kB / 254.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.009745, allocations: 12.84 kB / 254.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.00975, allocations: 11.94 kB / 254.6 MB, free: 4.109 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.009763, allocations: 8.859 kB / 254.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.009972, allocations: 18.69 kB / 254.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.0104, allocations: 128.5 kB / 254.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.01044, allocations: 55.34 kB / 254.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.01047, allocations: 4 kB / 254.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.01052, allocations: 55.38 kB / 254.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01052, allocations: 3.938 kB / 254.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of Templates: time 0.004324/0.01485, allocations: 1.576 MB / 256.4 MB, free: 2.223 MB / 250.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.270906656049192]