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.0007495/0.0007495, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007701/0.0007701, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8583/0.8583, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.008952/0.008952, allocations: 2.248 MB / 262.2 MB, free: 11.01 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.342e-06/1.342e-06, allocations: 0 / 386.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.029e-05, allocations: 12.89 kB / 386.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001776/0.001796, allocations: 1.57 MB / 388.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.002723, allocations: 1.126 MB / 389.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.002771, allocations: 0 / 389.3 MB, free: 7.988 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.000201/0.002972, allocations: 31.78 kB / 389.3 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.003252, allocations: 107.5 kB / 389.4 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.879e-05/0.003281, allocations: 11.94 kB / 389.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.003339, allocations: 35.86 kB / 389.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.003418, allocations: 7.984 kB / 389.4 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.003464, allocations: 15.98 kB / 389.5 MB, free: 7.781 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.003537, allocations: 15.92 kB / 389.5 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.003548, allocations: 4 kB / 389.5 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.003685, allocations: 107.8 kB / 389.6 MB, free: 7.656 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.003696, allocations: 7.938 kB / 389.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.003712, allocations: 4 kB / 389.6 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.003888, allocations: 139.6 kB / 389.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00389, allocations: 0 / 389.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003891, allocations: 0 / 389.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.003894, allocations: 0 / 389.7 MB, free: 7.508 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.0003437/0.004238, allocations: 313.8 kB / 390 MB, free: 7.172 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.004268, allocations: 8.031 kB / 390 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.004296, allocations: 4.938 kB / 390.1 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.004423, allocations: 121.7 kB / 390.2 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.00443, allocations: 384 / 390.2 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.004438, allocations: 4.375 kB / 390.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.004525, allocations: 46.25 kB / 390.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004532, allocations: 192 / 390.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.004545, allocations: 8.125 kB / 390.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.004549, allocations: 0 / 390.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.974e-05/0.004599, allocations: 23.92 kB / 390.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.004817, allocations: 204.6 kB / 390.5 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.004946, allocations: 50.61 kB / 390.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.004974, allocations: 16.8 kB / 390.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.004986, allocations: 3.938 kB / 390.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.005002, allocations: 34.56 kB / 390.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005003, allocations: 0 / 390.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001509/0.005154, allocations: 65.72 kB / 390.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.005179, allocations: 55.41 kB / 390.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.005247, allocations: 126 kB / 390.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.005256, allocations: 29.7 kB / 390.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.005285, allocations: 88.12 kB / 390.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.0053, allocations: 12 kB / 390.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.005322, allocations: 17.66 kB / 390.9 MB, free: 6.145 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.00539, allocations: 322.8 kB / 391.3 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.005411, allocations: 8 kB / 391.3 MB, free: 5.812 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.005428, allocations: 11.98 kB / 391.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.00547, allocations: 28.84 kB / 391.3 MB, free: 5.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005472, allocations: 0 / 391.3 MB, free: 5.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.713e-05/0.005539, allocations: 61.89 kB / 391.4 MB, free: 5.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.005549, allocations: 4 kB / 391.4 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.005554, allocations: 4 kB / 391.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.005564, allocations: 48 / 391.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.642e-05/0.00559, allocations: 7.984 kB / 391.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005594, allocations: 3.938 kB / 391.4 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.00561, allocations: 7.953 kB / 391.4 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.005617, allocations: 8 kB / 391.4 MB, free: 5.668 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 4.706e-05/0.005664, allocations: 113.8 kB / 391.5 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.005677, allocations: 7.938 kB / 391.5 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.005696, allocations: 8 kB / 391.5 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.005698, allocations: 4 kB / 391.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.005701, allocations: 0 / 391.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.005703, allocations: 0 / 391.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.204e-05/0.005785, allocations: 109.3 kB / 391.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005786, allocations: 0 / 391.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.005802, allocations: 7.984 kB / 391.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005804, allocations: 3.938 kB / 391.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.005809, allocations: 0 / 391.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005809, allocations: 4 kB / 391.7 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00581, allocations: 4 kB / 391.7 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.016e-05/0.0059, allocations: 159.4 kB / 391.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.005908, allocations: 0 / 391.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.005917, allocations: 3.938 kB / 391.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.005945, allocations: 4 kB / 391.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.005956, allocations: 7.922 kB / 391.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.005958, allocations: 0 / 391.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.005997, allocations: 99.22 kB / 391.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005997, allocations: 0 / 391.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.006177, allocations: 39.8 kB / 392 MB, free: 5.043 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.000454/0.006631, allocations: 312.4 kB / 392.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.441e-05/0.006715, allocations: 27.97 kB / 392.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006716, allocations: 0 / 392.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/0.006739, allocations: 15.94 kB / 392.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.006913, allocations: 11.25 kB / 392.3 MB, free: 4.754 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.007147, allocations: 166.4 kB / 392.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.007187, allocations: 67.28 kB / 392.6 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.007209, allocations: 12.5 kB / 392.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of SimCode: time 2.8e-07/0.007209, allocations: 0 / 392.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of Templates: time 0.002206/0.009415, allocations: 1.636 MB / 394.2 MB, free: 2.828 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1044928804039955] Failed to read output from testmodel.py, exit status != 0: 0.013567994348704815 0.020872529 0.015352292000000002 Calling exit ...