Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01255/0.01255, allocations: 2.946 MB / 294.1 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.91 kB / 356.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2125, allocations: 50.34 MB / 406.5 MB, free: 32.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002457/0.215, allocations: 1.67 MB / 408.1 MB, free: 30.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2167, allocations: 1.709 MB / 409.8 MB, free: 29.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.2168, allocations: 3.938 kB / 409.8 MB, free: 29.07 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.2171, allocations: 43.77 kB / 409.9 MB, free: 29.03 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.2175, allocations: 171.2 kB / 410 MB, free: 28.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.2177, allocations: 95.75 kB / 410.1 MB, free: 28.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2178, allocations: 95.77 kB / 410.2 MB, free: 28.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.2179, allocations: 8 kB / 410.2 MB, free: 28.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.2179, allocations: 47.77 kB / 410.3 MB, free: 28.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2181, allocations: 39.8 kB / 410.3 MB, free: 28.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2181, allocations: 4 kB / 410.3 MB, free: 28.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.2184, allocations: 275.6 kB / 410.6 MB, free: 28.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.2184, allocations: 23.91 kB / 410.6 MB, free: 28.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.2185, allocations: 47.73 kB / 410.7 MB, free: 28.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.2188, allocations: 299.1 kB / 411 MB, free: 27.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2188, allocations: 0 / 411 MB, free: 27.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2188, allocations: 3.938 kB / 411 MB, free: 27.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2189, allocations: 0 / 411 MB, free: 27.95 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000435/0.2193, allocations: 474.6 kB / 411.4 MB, free: 27.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2193, allocations: 15.89 kB / 411.4 MB, free: 27.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.2194, allocations: 8.844 kB / 411.5 MB, free: 27.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2196, allocations: 216.1 kB / 411.7 MB, free: 27.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2196, allocations: 12.38 kB / 411.7 MB, free: 27.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2196, allocations: 4.125 kB / 411.7 MB, free: 27.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.2198, allocations: 103.2 kB / 411.8 MB, free: 27.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2198, allocations: 0 / 411.8 MB, free: 27.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2198, allocations: 0 / 411.8 MB, free: 27.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2198, allocations: 4 kB / 411.8 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2199, allocations: 47.97 kB / 411.8 MB, free: 26.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.2202, allocations: 313.7 kB / 412.1 MB, free: 26.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.2204, allocations: 101.2 kB / 412.2 MB, free: 26.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.2205, allocations: 57.73 kB / 412.3 MB, free: 26.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2206, allocations: 4 kB / 412.3 MB, free: 26.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.2207, allocations: 142.6 kB / 412.4 MB, free: 26.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2207, allocations: 0 / 412.4 MB, free: 26.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003743/0.2211, allocations: 231.3 kB / 412.7 MB, free: 26.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2212, allocations: 110.8 kB / 412.8 MB, free: 25.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.2213, allocations: 160.5 kB / 412.9 MB, free: 25.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2213, allocations: 29.7 kB / 413 MB, free: 25.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.2213, allocations: 96.08 kB / 413.1 MB, free: 25.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.2213, allocations: 27.61 kB / 413.1 MB, free: 25.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.2214, allocations: 21.72 kB / 413.1 MB, free: 25.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.2214, allocations: 330.8 kB / 413.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.2215, allocations: 35.97 kB / 413.5 MB, free: 25.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.2216, allocations: 53.7 kB / 413.5 MB, free: 25.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2217, allocations: 145 kB / 413.7 MB, free: 24.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2217, allocations: 0 / 413.7 MB, free: 24.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002327/0.222, allocations: 199 kB / 413.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.222, allocations: 37.69 kB / 413.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.222, allocations: 0 / 413.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.222, allocations: 4 kB / 413.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.2221, allocations: 12 kB / 413.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2221, allocations: 0 / 413.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.2222, allocations: 23.8 kB / 413.9 MB, free: 24.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2222, allocations: 4 kB / 413.9 MB, free: 24.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 7.754e-05/0.2223, allocations: 159.5 kB / 414.1 MB, free: 24.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.2223, allocations: 7.906 kB / 414.1 MB, free: 24.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.2223, allocations: 12.72 kB / 414.1 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2224, allocations: 0 / 414.1 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2224, allocations: 4 kB / 414.1 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2224, allocations: 3.938 kB / 414.1 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2225, allocations: 209.5 kB / 414.3 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2225, allocations: 0 / 414.3 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.2225, allocations: 8 kB / 414.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2225, allocations: 4 kB / 414.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2226, allocations: 4 kB / 414.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2226, allocations: 4 kB / 414.3 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2226, allocations: 4 kB / 414.3 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2229, allocations: 251.4 kB / 414.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.2229, allocations: 88.95 kB / 414.7 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2229, allocations: 4 kB / 414.7 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.727e-05/0.223, allocations: 8 kB / 414.7 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.2231, allocations: 15.86 kB / 414.7 MB, free: 23.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2231, allocations: 4 kB / 414.7 MB, free: 23.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.2231, allocations: 121.1 kB / 414.8 MB, free: 23.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2232, allocations: 8 kB / 414.8 MB, free: 23.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.2235, allocations: 87.98 kB / 414.9 MB, free: 23.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0008522/0.2243, allocations: 465.3 kB / 415.4 MB, free: 23.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.2246, allocations: 195.2 kB / 415.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2246, allocations: 0 / 415.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2247, allocations: 135.4 kB / 415.7 MB, free: 22.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.2249, allocations: 18.8 kB / 415.7 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.2253, allocations: 243.3 kB / 415.9 MB, free: 22.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.2254, allocations: 0.7002 MB / 416.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.2255, allocations: 7.984 kB / 416.7 MB, free: 21.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.2255, allocations: 19.44 kB / 416.7 MB, free: 21.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2255, allocations: 0 / 416.7 MB, free: 21.85 MB / 302.1 MB Notification: Performance of Templates: time 0.005061/0.2306, allocations: 3.005 MB / 419.7 MB, free: 18.86 MB / 302.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & ./ExternData_ExternData.Examples.XLSTest -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1)