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.001254/0.001254, allocations: 93.06 kB / 19.65 MB, free: 280 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.001477/0.001477, allocations: 165 kB / 23.02 MB, free: 1.555 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.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.01262/0.01262, allocations: 2.26 MB / 262.2 MB, free: 10.81 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.323e-06/1.323e-06, allocations: 0 / 332.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.666e-05, allocations: 4.703 kB / 332.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001964/0.001991, allocations: 1.6 MB / 334.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.003019, allocations: 1.161 MB / 335.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.003086, allocations: 4 kB / 335.6 MB, free: 13.67 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.0002542/0.00334, allocations: 23.84 kB / 335.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.00373, allocations: 115.4 kB / 335.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.167e-05/0.003772, allocations: 3.984 kB / 335.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.003843, allocations: 35.92 kB / 335.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.003939, allocations: 3.938 kB / 335.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.004002, allocations: 31.91 kB / 335.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.004091, allocations: 11.98 kB / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.004105, allocations: 0 / 335.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.004282, allocations: 107.7 kB / 335.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.004297, allocations: 11.97 kB / 335.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.00432, allocations: 7.938 kB / 335.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.004536, allocations: 123.6 kB / 336 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004539, allocations: 0 / 336 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.00454, allocations: 0 / 336 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004544, allocations: 0 / 336 MB, free: 13.2 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.0003826/0.004927, allocations: 416.1 kB / 336.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.004967, allocations: 8.031 kB / 336.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.005013, allocations: 16.83 kB / 336.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.005134, allocations: 116.6 kB / 336.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.005143, allocations: 4.375 kB / 336.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.005154, allocations: 384 / 336.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005264, allocations: 58.94 kB / 336.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.005273, allocations: 192 / 336.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005284, allocations: 4.125 kB / 336.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.005292, allocations: 0 / 336.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.228e-05/0.005324, allocations: 15.98 kB / 336.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.005583, allocations: 271.7 kB / 336.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.005715, allocations: 47.11 kB / 337 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.005737, allocations: 11.69 kB / 337 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.005752, allocations: 3.938 kB / 337 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.005767, allocations: 33.39 kB / 337 MB, free: 12.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.005768, allocations: 0 / 337 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001512/0.005919, allocations: 53.72 kB / 337.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.005939, allocations: 51.41 kB / 337.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.006003, allocations: 181.9 kB / 337.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.006008, allocations: 25.7 kB / 337.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.006035, allocations: 134.8 kB / 337.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.006051, allocations: 7.953 kB / 337.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.006078, allocations: 19.38 kB / 337.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.006133, allocations: 0.4923 MB / 338 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.006145, allocations: 0 / 338 MB, free: 11.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.006155, allocations: 4 kB / 338 MB, free: 11.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.006185, allocations: 19.62 kB / 338 MB, free: 11.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.006187, allocations: 0 / 338 MB, free: 11.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.531e-05/0.006242, allocations: 49.58 kB / 338 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.006255, allocations: 8 kB / 338 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006259, allocations: 0 / 338 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.006275, allocations: 0 / 338 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.232e-05/0.006318, allocations: 15.98 kB / 338.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006322, allocations: 0 / 338.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.006338, allocations: 0 / 338.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.006344, allocations: 4 kB / 338.1 MB, free: 10.95 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.271e-05/0.006386, allocations: 156.5 kB / 338.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.006403, allocations: 11.88 kB / 338.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.006428, allocations: 8 kB / 338.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00643, allocations: 4 kB / 338.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.006435, allocations: 3.984 kB / 338.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006438, allocations: 0 / 338.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.304e-05/0.006521, allocations: 120.6 kB / 338.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006522, allocations: 0 / 338.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.00654, allocations: 8 kB / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.006543, allocations: 8.266 kB / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.00655, allocations: 0 / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006551, allocations: 0 / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006551, allocations: 0 / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.837e-05/0.00663, allocations: 195.9 kB / 338.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.006643, allocations: 15.92 kB / 338.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.006656, allocations: 7.938 kB / 338.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.006684, allocations: 4 kB / 338.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.006699, allocations: 3.938 kB / 338.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.006701, allocations: 0 / 338.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.006734, allocations: 135.2 kB / 338.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006734, allocations: 0 / 338.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.00695, allocations: 43.81 kB / 338.8 MB, free: 10.17 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.0006688/0.007619, allocations: 335.6 kB / 339.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.519e-05/0.007714, allocations: 19.67 kB / 339.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007716, allocations: 0 / 339.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.007727, allocations: 19.62 kB / 339.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.007936, allocations: 11.98 kB / 339.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.00818, allocations: 128.3 kB / 339.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.422e-05/0.008205, allocations: 59.22 kB / 339.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.485e-05/0.008229, allocations: 7.984 kB / 339.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.008252, allocations: 16.5 kB / 339.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008253, allocations: 0 / 339.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of Templates: time 0.003011/0.01126, allocations: 1.408 MB / 340.8 MB, free: 8.191 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9567821007221937]