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.001293/0.001293, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001739/0.003032, allocations: 440 kB / 10.41 MB, free: 284 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.001333/0.001333, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.002992, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9184/0.9184, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07412/0.9926, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.01461/0.01461, allocations: 2.254 MB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004144/0.01876, allocations: 1.426 MB / 247.8 MB, free: 11.08 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.783e-06/1.783e-06, allocations: 0 / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.285e-05, allocations: 2.312 kB / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003047/0.00307, allocations: 1.656 MB / 250.8 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.00466, allocations: 1.201 MB / 252 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.004713, allocations: 4 kB / 252 MB, free: 6.91 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.0001548/0.004868, allocations: 35.73 kB / 252 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.005234, allocations: 111.4 kB / 252.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.578e-05/0.00527, allocations: 0 / 252.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.00534, allocations: 35.92 kB / 252.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.916e-05/0.005419, allocations: 11.92 kB / 252.2 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.005498, allocations: 31.91 kB / 252.2 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.005582, allocations: 15.92 kB / 252.2 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.005595, allocations: 4 kB / 252.2 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.005808, allocations: 95.86 kB / 252.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.005829, allocations: 15.94 kB / 252.3 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.005846, allocations: 4 kB / 252.3 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.00608, allocations: 119.6 kB / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.006092, allocations: 0 / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.006093, allocations: 0 / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.006106, allocations: 4 kB / 252.4 MB, free: 6.434 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.0004971/0.006603, allocations: 296.1 kB / 252.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.006638, allocations: 8.031 kB / 252.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.006676, allocations: 8.938 kB / 252.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.006839, allocations: 117.7 kB / 252.9 MB, free: 5.965 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.006848, allocations: 4.375 kB / 252.9 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.006858, allocations: 384 / 252.9 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.006969, allocations: 58.89 kB / 252.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.006976, allocations: 192 / 252.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.006984, allocations: 4.125 kB / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.006989, allocations: 0 / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.007018, allocations: 11.98 kB / 252.9 MB, free: 5.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.007251, allocations: 152.3 kB / 253.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.007391, allocations: 38.5 kB / 253.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.007411, allocations: 16.92 kB / 253.1 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.007422, allocations: 4 kB / 253.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.007445, allocations: 30.56 kB / 253.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.007446, allocations: 0 / 253.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001561/0.007602, allocations: 45.72 kB / 253.2 MB, free: 5.555 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.007633, allocations: 51.41 kB / 253.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.007711, allocations: 118.7 kB / 253.4 MB, free: 5.363 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.007722, allocations: 29.64 kB / 253.4 MB, free: 5.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.007757, allocations: 96.06 kB / 253.5 MB, free: 5.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.007776, allocations: 11.89 kB / 253.5 MB, free: 5.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.007805, allocations: 17.72 kB / 253.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.007888, allocations: 318.8 kB / 253.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.0079, allocations: 7.938 kB / 253.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.007908, allocations: 0 / 253.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.007945, allocations: 17.12 kB / 253.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007948, allocations: 0 / 253.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.504e-05/0.008013, allocations: 37.69 kB / 253.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.008029, allocations: 11.92 kB / 253.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.008033, allocations: 0 / 253.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.008044, allocations: 0 / 253.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.0081, allocations: 11.94 kB / 253.9 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.008103, allocations: 4 kB / 253.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.008126, allocations: 0 / 253.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.008131, allocations: 4 kB / 253.9 MB, free: 4.773 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 6.097e-05/0.008192, allocations: 109.8 kB / 254.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.008218, allocations: 7.984 kB / 254.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.008244, allocations: 7.938 kB / 254.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008246, allocations: 0 / 254.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008248, allocations: 0 / 254.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00825, allocations: 0 / 254.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.008437, allocations: 81.88 kB / 254.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008439, allocations: 4 kB / 254.2 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.008481, allocations: 8 kB / 254.2 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.008497, allocations: 7.938 kB / 254.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008499, allocations: 0 / 254.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.008506, allocations: 3.938 kB / 254.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.008509, allocations: 4 kB / 254.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00851, allocations: 0 / 254.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.008613, allocations: 131.5 kB / 254.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.008629, allocations: 4 kB / 254.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.008684, allocations: 0 / 254.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.008698, allocations: 3.938 kB / 254.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.008704, allocations: 7.984 kB / 254.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.719e-05/0.008731, allocations: 16.86 kB / 254.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008731, allocations: 0 / 254.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.009008, allocations: 47.73 kB / 254.4 MB, free: 4.285 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.001124/0.01013, allocations: 407.9 kB / 254.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.01021, allocations: 16.86 kB / 254.8 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.01021, allocations: 4 kB / 254.8 MB, free: 3.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.01024, allocations: 20.78 kB / 254.8 MB, free: 3.969 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01047, allocations: 41.58 kB / 254.9 MB, free: 3.922 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.01095, allocations: 132.5 kB / 255 MB, free: 3.766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.01099, allocations: 59.34 kB / 255 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.01102, allocations: 8 kB / 255.1 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.01108, allocations: 51.38 kB / 255.1 MB, free: 3.629 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01108, allocations: 0 / 255.1 MB, free: 3.629 MB / 250.7 MB Notification: Performance of Templates: time 0.004282/0.01536, allocations: 1.582 MB / 256.7 MB, free: 2.059 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.4260784154757857]