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.001424/0.001424, allocations: 84.73 kB / 19.43 MB, free: 360 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.001528/0.001528, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.01745/0.01745, allocations: 2.265 MB / 261.8 MB, free: 10.8 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.343e-06/1.343e-06, allocations: 0 / 332.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.769e-05, allocations: 2.312 kB / 332.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002315/0.002342, allocations: 1.565 MB / 333.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.003587, allocations: 1.146 MB / 334.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.003656, allocations: 0 / 334.8 MB, free: 14.04 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.0002621/0.003918, allocations: 19.88 kB / 334.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.004288, allocations: 107.5 kB / 334.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.605e-05/0.004324, allocations: 7.984 kB / 334.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.004386, allocations: 39.86 kB / 335 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.004472, allocations: 15.97 kB / 335 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.004527, allocations: 12 kB / 335 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.004636, allocations: 15.92 kB / 335 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.004653, allocations: 4 kB / 335 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.005682, allocations: 200.8 kB / 335.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.005695, allocations: 7.938 kB / 335.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.005723, allocations: 8 kB / 335.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.005945, allocations: 131.6 kB / 335.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.005949, allocations: 8 kB / 335.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00595, allocations: 0 / 335.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005955, allocations: 0 / 335.3 MB, free: 13.54 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.0004184/0.006373, allocations: 301.9 kB / 335.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.006407, allocations: 15.97 kB / 335.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.006454, allocations: 12.88 kB / 335.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.006582, allocations: 121.8 kB / 335.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.006592, allocations: 384 / 335.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.006601, allocations: 4.375 kB / 335.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.006709, allocations: 42.25 kB / 335.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.006718, allocations: 4.188 kB / 335.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.006727, allocations: 4.125 kB / 335.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006732, allocations: 7.984 kB / 335.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.006814, allocations: 19.98 kB / 335.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.007067, allocations: 212.5 kB / 336.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.007236, allocations: 46.62 kB / 336.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.007281, allocations: 12.94 kB / 336.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.007297, allocations: 7.875 kB / 336.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.00731, allocations: 42.56 kB / 336.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.007311, allocations: 0 / 336.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002214/0.007532, allocations: 65.61 kB / 336.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.007552, allocations: 51.41 kB / 336.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.007626, allocations: 121.8 kB / 336.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.007632, allocations: 25.7 kB / 336.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.007655, allocations: 92.09 kB / 336.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.007669, allocations: 7.953 kB / 336.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.007695, allocations: 13.72 kB / 336.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.007737, allocations: 326.8 kB / 336.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.007774, allocations: 4 kB / 336.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.007803, allocations: 11.98 kB / 336.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.007869, allocations: 32.78 kB / 336.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007871, allocations: 4 kB / 336.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001038/0.007975, allocations: 61.58 kB / 337 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.007986, allocations: 4 kB / 337 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007991, allocations: 3.984 kB / 337 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.00801, allocations: 0 / 337 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.008052, allocations: 8 kB / 337 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.008057, allocations: 4 kB / 337 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.008086, allocations: 0 / 337 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.008091, allocations: 0 / 337 MB, free: 11.7 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.035e-05/0.008131, allocations: 113.8 kB / 337.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.00816, allocations: 15.86 kB / 337.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.008179, allocations: 8 kB / 337.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.00818, allocations: 0 / 337.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008184, allocations: 0 / 337.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.008186, allocations: 0 / 337.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.483e-05/0.008281, allocations: 113.3 kB / 337.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.008282, allocations: 0 / 337.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.008319, allocations: 8 kB / 337.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008321, allocations: 3.938 kB / 337.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008327, allocations: 3.984 kB / 337.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.008328, allocations: 0 / 337.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008328, allocations: 3.938 kB / 337.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.008446, allocations: 155.8 kB / 337.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.008459, allocations: 7.984 kB / 337.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.008472, allocations: 3.938 kB / 337.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.973e-05/0.008532, allocations: 8 kB / 337.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.008546, allocations: 3.938 kB / 337.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.008548, allocations: 0 / 337.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.008585, allocations: 95.27 kB / 337.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008585, allocations: 0 / 337.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.00886, allocations: 47.75 kB / 337.6 MB, free: 11.06 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.0008976/0.009758, allocations: 321.8 kB / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.009885, allocations: 31.97 kB / 337.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009887, allocations: 0 / 337.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.00992, allocations: 15.94 kB / 337.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01019, allocations: 15.3 kB / 338 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.0105, allocations: 142.2 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.01054, allocations: 63.34 kB / 338.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.01057, allocations: 4 kB / 338.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.0106, allocations: 20.48 kB / 338.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0106, allocations: 0 / 338.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Templates: time 0.003759/0.01436, allocations: 1.387 MB / 339.6 MB, free: 9.102 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.591456266934983]