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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01588/0.01588, allocations: 2.983 MB / 307.5 MB, free: 3.234 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001925/0.001925, allocations: 63.89 kB / 428.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2815, allocations: 53.07 MB / 481.8 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.00236/0.2839, allocations: 1.564 MB / 483.4 MB, free: 26.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2851, allocations: 1.091 MB / 484.4 MB, free: 25.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.2851, allocations: 0 / 484.4 MB, free: 25.6 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:79:3-102:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.2854, allocations: 28.75 kB / 484.5 MB, free: 25.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.2857, allocations: 111.1 kB / 484.6 MB, free: 25.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.664e-05/0.2857, allocations: 7.359 kB / 484.6 MB, free: 25.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.2858, allocations: 34.94 kB / 484.6 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.2859, allocations: 10.39 kB / 484.6 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.2859, allocations: 13.88 kB / 484.6 MB, free: 25.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.286, allocations: 21.47 kB / 484.7 MB, free: 25.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.286, allocations: 2.906 kB / 484.7 MB, free: 25.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.2862, allocations: 117.3 kB / 484.8 MB, free: 25.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.2862, allocations: 13.77 kB / 484.8 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.2862, allocations: 11.25 kB / 484.8 MB, free: 25.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.2864, allocations: 119.4 kB / 484.9 MB, free: 25.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2864, allocations: 0 / 484.9 MB, free: 25.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2864, allocations: 0 / 484.9 MB, free: 25.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2864, allocations: 0 / 484.9 MB, free: 25.39 MB / 366.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.0003844/0.2868, allocations: 386.4 kB / 485.3 MB, free: 24.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2868, allocations: 13.27 kB / 485.3 MB, free: 24.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2869, allocations: 11.62 kB / 485.3 MB, free: 24.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.2871, allocations: 178.8 kB / 485.5 MB, free: 24.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-06/0.2871, allocations: 3.594 kB / 485.5 MB, free: 24.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2871, allocations: 384 / 485.5 MB, free: 24.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2872, allocations: 57.23 kB / 485.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2872, allocations: 0 / 485.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.2872, allocations: 0 / 485.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.2872, allocations: 0 / 485.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.2873, allocations: 23.28 kB / 485.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.2875, allocations: 270.5 kB / 485.8 MB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2877, allocations: 47.62 kB / 485.9 MB, free: 24.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.2877, allocations: 15.06 kB / 485.9 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.2877, allocations: 6.688 kB / 485.9 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2878, allocations: 34.56 kB / 485.9 MB, free: 24.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2878, allocations: 0 / 485.9 MB, free: 24.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001989/0.288, allocations: 69.84 kB / 486 MB, free: 24.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.288, allocations: 54.34 kB / 486.1 MB, free: 24.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.288, allocations: 117.9 kB / 486.2 MB, free: 24.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.2881, allocations: 25.7 kB / 486.2 MB, free: 24.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.2881, allocations: 94.72 kB / 486.3 MB, free: 24.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.2881, allocations: 7.906 kB / 486.3 MB, free: 24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.2881, allocations: 20.66 kB / 486.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.2882, allocations: 318.2 kB / 486.6 MB, free: 23.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.2882, allocations: 9.938 kB / 486.7 MB, free: 23.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.2882, allocations: 9.266 kB / 486.7 MB, free: 23.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.2883, allocations: 26.75 kB / 486.7 MB, free: 23.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2883, allocations: 3.938 kB / 486.7 MB, free: 23.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.788e-05/0.2884, allocations: 63.27 kB / 486.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2884, allocations: 3.344 kB / 486.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2884, allocations: 0 / 486.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2884, allocations: 3.25 kB / 486.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.2885, allocations: 7.125 kB / 486.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2885, allocations: 0 / 486.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.2885, allocations: 6.594 kB / 486.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.2885, allocations: 0 / 486.8 MB, free: 23.6 MB / 366.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 4.197e-05/0.2885, allocations: 117 kB / 486.9 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2886, allocations: 11.14 kB / 486.9 MB, free: 23.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.2886, allocations: 3.906 kB / 486.9 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2886, allocations: 0 / 486.9 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2886, allocations: 0 / 486.9 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2886, allocations: 6.625 kB / 486.9 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2887, allocations: 167.2 kB / 487.1 MB, free: 23.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2887, allocations: 0 / 487.1 MB, free: 23.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.2888, allocations: 9.906 kB / 487.1 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2888, allocations: 0 / 487.1 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2888, allocations: 0 / 487.1 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2888, allocations: 0 / 487.1 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2888, allocations: 11.5 kB / 487.1 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2889, allocations: 155.6 kB / 487.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.2889, allocations: 80.48 kB / 487.3 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2889, allocations: 7.031 kB / 487.3 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.289, allocations: 0 / 487.3 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.289, allocations: 6.547 kB / 487.3 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.289, allocations: 0 / 487.3 MB, free: 23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.699e-05/0.2891, allocations: 103.8 kB / 487.4 MB, free: 22.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2891, allocations: 0 / 487.4 MB, free: 22.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.2893, allocations: 41.59 kB / 487.5 MB, free: 22.9 MB / 366.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.0009224/0.2902, allocations: 330 kB / 487.8 MB, free: 22.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.2904, allocations: 34.02 kB / 487.8 MB, free: 22.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2904, allocations: 0 / 487.8 MB, free: 22.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.2904, allocations: 13.06 kB / 487.8 MB, free: 22.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.2906, allocations: 6.438 kB / 487.9 MB, free: 22.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.2909, allocations: 134.8 kB / 488 MB, free: 22.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.291, allocations: 0.6863 MB / 488.7 MB, free: 21.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.2911, allocations: 6.938 kB / 488.7 MB, free: 21.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.2911, allocations: 10.16 kB / 488.7 MB, free: 21.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2911, allocations: 2.938 kB / 488.7 MB, free: 21.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004072/0.2952, allocations: 1.392 MB / 490.1 MB, free: 21.71 MB / 366.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.622714653611183]