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.0009924/0.0009924, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001157/0.001157, allocations: 173 kB / 23.49 MB, free: 1.059 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.047/1.047, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.01102/0.01102, allocations: 2.259 MB / 262.5 MB, free: 10.86 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.593e-06/1.593e-06, allocations: 0 / 332.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.187e-05, allocations: 4.703 kB / 332.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001849/0.001871, allocations: 1.608 MB / 334.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.002752, allocations: 1.153 MB / 335.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.002805, allocations: 0 / 335.6 MB, free: 13.98 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.0002077/0.003013, allocations: 27.8 kB / 335.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.003316, allocations: 107.5 kB / 335.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.459e-05/0.003351, allocations: 15.97 kB / 335.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.003405, allocations: 39.86 kB / 335.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.00348, allocations: 7.938 kB / 335.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.00353, allocations: 19.92 kB / 335.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.003598, allocations: 19.97 kB / 335.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.00361, allocations: 4 kB / 335.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.003728, allocations: 99.8 kB / 335.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.003739, allocations: 3.984 kB / 335.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.003759, allocations: 11.94 kB / 335.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.003923, allocations: 131.5 kB / 336 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003925, allocations: 0 / 336 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003926, allocations: 0 / 336 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.003931, allocations: 8 kB / 336.1 MB, free: 13.49 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.0002998/0.004231, allocations: 404.2 kB / 336.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.004261, allocations: 8.031 kB / 336.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.004296, allocations: 8.891 kB / 336.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.004395, allocations: 124.5 kB / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.004403, allocations: 384 / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.004411, allocations: 384 / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.004502, allocations: 54.95 kB / 336.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.004509, allocations: 192 / 336.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.004518, allocations: 4.125 kB / 336.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004526, allocations: 11.94 kB / 336.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.923e-05/0.004555, allocations: 7.984 kB / 336.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.004776, allocations: 267.8 kB / 336.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.004892, allocations: 47.05 kB / 337 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.004913, allocations: 11.69 kB / 337 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.004927, allocations: 3.938 kB / 337 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.004943, allocations: 37.39 kB / 337 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004944, allocations: 0 / 337 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001288/0.005072, allocations: 49.72 kB / 337.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.005091, allocations: 55.41 kB / 337.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.295e-05/0.005154, allocations: 173.9 kB / 337.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.00516, allocations: 33.7 kB / 337.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.005183, allocations: 130.8 kB / 337.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.005197, allocations: 7.953 kB / 337.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.005217, allocations: 19.38 kB / 337.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.005259, allocations: 0.4923 MB / 338 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.005269, allocations: 0 / 338 MB, free: 11.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.005279, allocations: 4.188 kB / 338 MB, free: 11.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.005304, allocations: 19.77 kB / 338 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005306, allocations: 0 / 338 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.592e-05/0.005352, allocations: 57.52 kB / 338.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005363, allocations: 4 kB / 338.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005367, allocations: 4 kB / 338.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005376, allocations: 0 / 338.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.085e-05/0.005407, allocations: 7.984 kB / 338.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005411, allocations: 0 / 338.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.406e-05/0.005425, allocations: 4 kB / 338.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.005429, allocations: 4 kB / 338.1 MB, free: 11.25 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 3.178e-05/0.005461, allocations: 152.6 kB / 338.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.005476, allocations: 7.938 kB / 338.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.005496, allocations: 12 kB / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005497, allocations: 0 / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0055, allocations: 0 / 338.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.005504, allocations: 7.984 kB / 338.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.916e-05/0.005574, allocations: 116.6 kB / 338.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005575, allocations: 0 / 338.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/0.005589, allocations: 19.88 kB / 338.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.00559, allocations: 3.938 kB / 338.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005596, allocations: 0 / 338.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005596, allocations: 0 / 338.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005597, allocations: 0 / 338.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.974e-05/0.005657, allocations: 199.9 kB / 338.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.005666, allocations: 7.922 kB / 338.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.005675, allocations: 3.938 kB / 338.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.005704, allocations: 8 kB / 338.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.005715, allocations: 0 / 338.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.005716, allocations: 0 / 338.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.00574, allocations: 131.2 kB / 338.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00574, allocations: 0 / 338.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000178/0.005918, allocations: 43.81 kB / 338.8 MB, free: 10.48 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.0006313/0.006549, allocations: 346.6 kB / 339.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.006623, allocations: 19.67 kB / 339.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006624, allocations: 0 / 339.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.006635, allocations: 19.69 kB / 339.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.006824, allocations: 7 kB / 339.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.007047, allocations: 132.3 kB / 339.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.32e-05/0.00707, allocations: 63.16 kB / 339.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.007095, allocations: 15.97 kB / 339.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.00712, allocations: 12.5 kB / 339.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007121, allocations: 0 / 339.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of Templates: time 0.002797/0.009918, allocations: 1.404 MB / 340.8 MB, free: 8.496 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.7912277940195054]