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.0009134/0.0009134, allocations: 93.06 kB / 19.65 MB, free: 276 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.001353/0.001353, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9408/0.9408, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.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.01379/0.01379, allocations: 2.255 MB / 262.2 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.884e-06/1.884e-06, allocations: 0 / 332.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.057e-05, allocations: 4.844 kB / 332.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002232/0.002262, allocations: 1.608 MB / 334.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.003381, allocations: 1.165 MB / 335.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.003437, allocations: 0 / 335.6 MB, free: 14.73 MB / 314.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.00024/0.003677, allocations: 27.8 kB / 335.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.003995, allocations: 103.5 kB / 335.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.906e-05/0.004034, allocations: 19.86 kB / 335.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.004099, allocations: 35.91 kB / 335.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.00418, allocations: 11.94 kB / 335.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.004241, allocations: 19.92 kB / 335.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.004334, allocations: 11.98 kB / 335.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.004347, allocations: 8 kB / 335.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.004492, allocations: 99.78 kB / 335.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.004506, allocations: 7.984 kB / 335.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.004527, allocations: 11.94 kB / 335.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.004725, allocations: 127.5 kB / 336 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004729, allocations: 4 kB / 336 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.00473, allocations: 0 / 336 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.004734, allocations: 0 / 336 MB, free: 14.25 MB / 314.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.0007138/0.005448, allocations: 400.2 kB / 336.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.005482, allocations: 8.031 kB / 336.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.005523, allocations: 8.891 kB / 336.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.007752, allocations: 128.6 kB / 336.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.007764, allocations: 384 / 336.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.00778, allocations: 12.36 kB / 336.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.007938, allocations: 50.95 kB / 336.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.007947, allocations: 192 / 336.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.007961, allocations: 16.06 kB / 336.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.007969, allocations: 0 / 336.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/0.008016, allocations: 11.92 kB / 336.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.008397, allocations: 263.8 kB / 336.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.008596, allocations: 43.11 kB / 337 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.008632, allocations: 15.69 kB / 337 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.008652, allocations: 7.875 kB / 337 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.008681, allocations: 37.39 kB / 337 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.008682, allocations: 0 / 337 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001968/0.008879, allocations: 45.78 kB / 337.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.008918, allocations: 51.41 kB / 337.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.009044, allocations: 181.9 kB / 337.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.009057, allocations: 25.7 kB / 337.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.009115, allocations: 130.9 kB / 337.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.009137, allocations: 11.95 kB / 337.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.009174, allocations: 19.38 kB / 337.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.009324, allocations: 0.4884 MB / 338 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.009346, allocations: 7.938 kB / 338 MB, free: 12.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.00936, allocations: 4 kB / 338 MB, free: 12.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.009408, allocations: 15.67 kB / 338 MB, free: 12.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.00941, allocations: 0 / 338 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.716e-05/0.009498, allocations: 49.59 kB / 338 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.009516, allocations: 8 kB / 338 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.009521, allocations: 0 / 338 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.009535, allocations: 0 / 338 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.009599, allocations: 11.98 kB / 338.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.009604, allocations: 3.938 kB / 338.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.009635, allocations: 4 kB / 338.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.009641, allocations: 0 / 338.1 MB, free: 12.01 MB / 314.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 8.144e-05/0.009723, allocations: 156.6 kB / 338.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.009755, allocations: 11.89 kB / 338.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.009784, allocations: 4 kB / 338.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.009789, allocations: 3.984 kB / 338.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.009793, allocations: 4 kB / 338.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009796, allocations: 0 / 338.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.009941, allocations: 129 kB / 338.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.009943, allocations: 3.938 kB / 338.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.009987, allocations: 4 kB / 338.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.009991, allocations: 3.938 kB / 338.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.009998, allocations: 0 / 338.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01, allocations: 0 / 338.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01, allocations: 0 / 338.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.01014, allocations: 199.9 kB / 338.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.01016, allocations: 11.88 kB / 338.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.01017, allocations: 11.94 kB / 338.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.01021, allocations: 0 / 338.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.01022, allocations: 4 kB / 338.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.01022, allocations: 0 / 338.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.182e-05/0.01028, allocations: 139.2 kB / 338.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 0 / 338.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.01047, allocations: 35.86 kB / 338.8 MB, free: 11.23 MB / 314.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.0006353/0.01111, allocations: 337.2 kB / 339.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.01119, allocations: 23.67 kB / 339.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0112, allocations: 4 kB / 339.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.01121, allocations: 15.62 kB / 339.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.01142, allocations: 11.98 kB / 339.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.0117, allocations: 134.7 kB / 339.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.01173, allocations: 51.36 kB / 339.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.425e-05/0.01175, allocations: 8.234 kB / 339.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.01177, allocations: 12.5 kB / 339.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01178, allocations: 0 / 339.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003258/0.01503, allocations: 1.564 MB / 340.9 MB, free: 9.102 MB / 314.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.657168932259083]