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.002257/0.002257, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002482/0.002482, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.01452/0.01452, allocations: 2.259 MB / 261.8 MB, free: 10.82 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.092e-06/1.092e-06, allocations: 0 / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.763e-05, allocations: 2.312 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001992/0.002009, allocations: 1.585 MB / 333.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003034, allocations: 1.142 MB / 334.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.003085, allocations: 4 kB / 334.8 MB, free: 14.03 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.0001957/0.003281, allocations: 27.78 kB / 334.8 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.00356, allocations: 103.5 kB / 334.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.133e-05/0.003592, allocations: 15.94 kB / 334.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.312e-05/0.003645, allocations: 35.84 kB / 335 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.003715, allocations: 4 kB / 335 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.003766, allocations: 23.92 kB / 335 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.003864, allocations: 11.97 kB / 335 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.003878, allocations: 4 kB / 335 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.004011, allocations: 99.8 kB / 335.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.004024, allocations: 11.94 kB / 335.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.004041, allocations: 7.969 kB / 335.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004226, allocations: 139.5 kB / 335.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004228, allocations: 0 / 335.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004229, allocations: 4 kB / 335.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004232, allocations: 0 / 335.3 MB, free: 13.55 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.0003606/0.004593, allocations: 411.8 kB / 335.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.00462, allocations: 8.031 kB / 335.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.00466, allocations: 8.891 kB / 335.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.004778, allocations: 120.6 kB / 335.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.004789, allocations: 4.375 kB / 335.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.004796, allocations: 384 / 335.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.5e-05/0.004891, allocations: 46.25 kB / 335.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.004902, allocations: 4.188 kB / 335.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004912, allocations: 4.125 kB / 335.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.004915, allocations: 3.938 kB / 335.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.004982, allocations: 19.98 kB / 335.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.00522, allocations: 267.8 kB / 336.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.005374, allocations: 51.11 kB / 336.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.005413, allocations: 19.62 kB / 336.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.005429, allocations: 3.938 kB / 336.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.00544, allocations: 45.41 kB / 336.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.005441, allocations: 4 kB / 336.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001999/0.005641, allocations: 57.69 kB / 336.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.005658, allocations: 51.41 kB / 336.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.005731, allocations: 181.9 kB / 336.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.005738, allocations: 25.7 kB / 336.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.005767, allocations: 142.8 kB / 336.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.00578, allocations: 7.891 kB / 336.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.005807, allocations: 23.38 kB / 336.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.005866, allocations: 0.4884 MB / 337.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.005897, allocations: 8 kB / 337.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.005919, allocations: 8 kB / 337.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.005972, allocations: 31.95 kB / 337.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.005973, allocations: 0 / 337.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.717e-05/0.00606, allocations: 61.56 kB / 337.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.006071, allocations: 8 kB / 337.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.006074, allocations: 0 / 337.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006087, allocations: 0 / 337.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.024e-05/0.006127, allocations: 11.92 kB / 337.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006132, allocations: 0 / 337.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.006156, allocations: 4 kB / 337.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.006161, allocations: 4 kB / 337.4 MB, free: 11.24 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 4.189e-05/0.006203, allocations: 156.6 kB / 337.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.006228, allocations: 7.938 kB / 337.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.006248, allocations: 8 kB / 337.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.006249, allocations: 0 / 337.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.006252, allocations: 0 / 337.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.006255, allocations: 3.984 kB / 337.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.006359, allocations: 128.6 kB / 337.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.00636, allocations: 0 / 337.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.006394, allocations: 4 kB / 337.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.006396, allocations: 11.94 kB / 337.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.006403, allocations: 0 / 337.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006405, allocations: 4 kB / 337.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006406, allocations: 0 / 337.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.006522, allocations: 211.8 kB / 337.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.006533, allocations: 3.938 kB / 337.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.006547, allocations: 3.938 kB / 337.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.006599, allocations: 4 kB / 337.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.006616, allocations: 0 / 337.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.006619, allocations: 0 / 337.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.315e-05/0.006662, allocations: 151.5 kB / 338.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006662, allocations: 0 / 338.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.006909, allocations: 47.75 kB / 338.1 MB, free: 10.44 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.001165/0.008073, allocations: 305.4 kB / 338.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.008186, allocations: 31.67 kB / 338.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008188, allocations: 3.938 kB / 338.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/0.008219, allocations: 23.67 kB / 338.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.008467, allocations: 4 kB / 338.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.008731, allocations: 155.8 kB / 338.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.008773, allocations: 63.34 kB / 338.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.62e-05/0.008799, allocations: 4 kB / 338.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.008825, allocations: 16.48 kB / 338.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008825, allocations: 0 / 338.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of Templates: time 0.003779/0.0126, allocations: 1.413 MB / 340.1 MB, free: 8.449 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: 4.238424328970723]