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.001566/0.001566, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002239/0.002239, allocations: 165.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 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.01712/0.01712, allocations: 2.269 MB / 261.4 MB, free: 14.4 MB / 254.1 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.693e-06/1.693e-06, allocations: 0 / 385.8 MB, free: 464 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.606e-05, allocations: 2.281 kB / 385.8 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002855/0.002881, allocations: 1.575 MB / 387.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.004508, allocations: 1.126 MB / 388.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.004578, allocations: 4 kB / 388.5 MB, free: 13.73 MB / 318.1 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.0002752/0.004853, allocations: 23.8 kB / 388.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.005248, allocations: 107.5 kB / 388.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.098e-05/0.005289, allocations: 11.98 kB / 388.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.00536, allocations: 31.86 kB / 388.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.005462, allocations: 11.98 kB / 388.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.005527, allocations: 19.98 kB / 388.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005639, allocations: 19.91 kB / 388.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.005653, allocations: 0 / 388.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.005856, allocations: 103.7 kB / 388.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.005875, allocations: 15.88 kB / 388.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.005898, allocations: 4 kB / 388.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.006172, allocations: 135.6 kB / 389 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006175, allocations: 0 / 389 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.006178, allocations: 4 kB / 389 MB, free: 13.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006183, allocations: 0 / 389 MB, free: 13.25 MB / 318.1 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.0005448/0.006728, allocations: 309.8 kB / 389.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.006767, allocations: 12.03 kB / 389.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.006799, allocations: 0.9375 kB / 389.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.007005, allocations: 125.7 kB / 389.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.00702, allocations: 4.375 kB / 389.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.007028, allocations: 384 / 389.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.007167, allocations: 46.25 kB / 389.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.007177, allocations: 4.125 kB / 389.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.007189, allocations: 4.125 kB / 389.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.007198, allocations: 0 / 389.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.007304, allocations: 23.98 kB / 389.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.00766, allocations: 208.6 kB / 389.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.007867, allocations: 54.53 kB / 389.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.007923, allocations: 16.86 kB / 389.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.007942, allocations: 3.938 kB / 389.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.007968, allocations: 30.56 kB / 389.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.007969, allocations: 0 / 389.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002541/0.008223, allocations: 73.72 kB / 389.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.008275, allocations: 55.39 kB / 389.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.008397, allocations: 121.8 kB / 390.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.008414, allocations: 29.64 kB / 390.1 MB, free: 12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.008479, allocations: 84.14 kB / 390.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.008498, allocations: 11.91 kB / 390.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.008535, allocations: 17.66 kB / 390.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.008689, allocations: 318.8 kB / 390.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-05/0.008732, allocations: 8 kB / 390.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.008768, allocations: 12.36 kB / 390.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.139e-05/0.00885, allocations: 28.84 kB / 390.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008851, allocations: 0 / 390.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001401/0.008992, allocations: 65.61 kB / 390.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.009004, allocations: 7.938 kB / 390.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.009007, allocations: 0 / 390.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.00902, allocations: 0 / 390.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.009072, allocations: 11.94 kB / 390.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.009076, allocations: 0 / 390.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.009109, allocations: 3.953 kB / 390.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.009117, allocations: 7.984 kB / 390.7 MB, free: 11.41 MB / 318.1 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.868e-05/0.009195, allocations: 110.5 kB / 390.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.009227, allocations: 7.938 kB / 390.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.009252, allocations: 8 kB / 390.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.009253, allocations: 0 / 390.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.009257, allocations: 0 / 390.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.009259, allocations: 0 / 390.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.009421, allocations: 113.3 kB / 390.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.009422, allocations: 0 / 390.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.009468, allocations: 11.98 kB / 390.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.009478, allocations: 7.938 kB / 390.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.009484, allocations: 0 / 390.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009485, allocations: 0 / 390.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009486, allocations: 0 / 390.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.009674, allocations: 159.4 kB / 391.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.009688, allocations: 4.375 kB / 391.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.009708, allocations: 3.938 kB / 391.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.009806, allocations: 4 kB / 391.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.009827, allocations: 7.984 kB / 391.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.00983, allocations: 0 / 391.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.009895, allocations: 91.28 kB / 391.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.009895, allocations: 0 / 391.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.01019, allocations: 47.73 kB / 391.2 MB, free: 10.78 MB / 318.1 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.00091/0.0111, allocations: 322.2 kB / 391.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.01123, allocations: 19.98 kB / 391.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.01123, allocations: 4 kB / 391.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.01128, allocations: 19.92 kB / 391.6 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01154, allocations: 10.81 kB / 391.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.0119, allocations: 136.7 kB / 391.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.01197, allocations: 63.34 kB / 391.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.599e-05/0.012, allocations: 256 / 391.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.01203, allocations: 16.48 kB / 391.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.01203, allocations: 0 / 391.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of Templates: time 0.004704/0.01673, allocations: 1.383 MB / 393.2 MB, free: 8.84 MB / 318.1 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.358821742236614] Failed to read output from testmodel.py, exit status != 0: 0.025155071169137955 0.040239064000000005 0.030917660000000003 Calling exit ...