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.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.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 113.2 kB / 16.37 MB, free: 6.012 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.001578/0.001579, allocations: 191.2 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01357/0.01357, allocations: 2.949 MB / 294.1 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 356.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.196, allocations: 50.34 MB / 406.5 MB, free: 32.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002719/0.1988, allocations: 1.558 MB / 408 MB, free: 30.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2001, allocations: 1.015 MB / 409 MB, free: 29.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.2002, allocations: 0 / 409 MB, free: 29.86 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:79:3-102:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.2004, allocations: 27.84 kB / 409.1 MB, free: 29.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.2008, allocations: 107.5 kB / 409.2 MB, free: 29.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.698e-05/0.2008, allocations: 4 kB / 409.2 MB, free: 29.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.2009, allocations: 35.84 kB / 409.2 MB, free: 29.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.201, allocations: 19.69 kB / 409.2 MB, free: 29.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.201, allocations: 7.938 kB / 409.2 MB, free: 29.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.2012, allocations: 23.91 kB / 409.3 MB, free: 29.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2012, allocations: 4 kB / 409.3 MB, free: 29.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.2014, allocations: 111.8 kB / 409.4 MB, free: 29.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.2014, allocations: 7.984 kB / 409.4 MB, free: 29.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.2014, allocations: 15.88 kB / 409.4 MB, free: 29.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.2017, allocations: 123.7 kB / 409.5 MB, free: 29.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2017, allocations: 3.938 kB / 409.5 MB, free: 29.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2017, allocations: 4 kB / 409.5 MB, free: 29.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.2017, allocations: 0 / 409.5 MB, free: 29.37 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000425/0.2021, allocations: 375.2 kB / 409.9 MB, free: 28.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2022, allocations: 15.89 kB / 409.9 MB, free: 28.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.2022, allocations: 8.781 kB / 409.9 MB, free: 28.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2024, allocations: 182.1 kB / 410.1 MB, free: 28.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2024, allocations: 4.312 kB / 410.1 MB, free: 28.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2024, allocations: 384 / 410.1 MB, free: 28.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.2025, allocations: 57.81 kB / 410.1 MB, free: 28.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2025, allocations: 0 / 410.1 MB, free: 28.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2025, allocations: 0 / 410.1 MB, free: 28.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2026, allocations: 0 / 410.1 MB, free: 28.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.2026, allocations: 19.98 kB / 410.2 MB, free: 28.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.2029, allocations: 268.9 kB / 410.4 MB, free: 28.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2031, allocations: 54.56 kB / 410.5 MB, free: 28.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.2032, allocations: 16.86 kB / 410.5 MB, free: 28.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2032, allocations: 0 / 410.5 MB, free: 28.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2032, allocations: 30.56 kB / 410.5 MB, free: 28.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2032, allocations: 0 / 410.5 MB, free: 28.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002146/0.2034, allocations: 65.7 kB / 410.6 MB, free: 28.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2035, allocations: 59.41 kB / 410.6 MB, free: 28.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.2036, allocations: 117.8 kB / 410.8 MB, free: 27.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.2036, allocations: 29.7 kB / 410.8 MB, free: 27.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.2036, allocations: 88.05 kB / 410.9 MB, free: 27.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.2036, allocations: 7.906 kB / 410.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.2036, allocations: 13.72 kB / 410.9 MB, free: 27.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.2037, allocations: 322.8 kB / 411.2 MB, free: 27.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.2038, allocations: 12 kB / 411.2 MB, free: 27.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.2038, allocations: 7.984 kB / 411.2 MB, free: 27.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/0.2039, allocations: 37.11 kB / 411.3 MB, free: 27.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2039, allocations: 0 / 411.3 MB, free: 27.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.344e-05/0.204, allocations: 57.91 kB / 411.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.204, allocations: 4 kB / 411.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.204, allocations: 0 / 411.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.204, allocations: 4 kB / 411.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.968e-05/0.204, allocations: 11.92 kB / 411.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2041, allocations: 4 kB / 411.4 MB, free: 27.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.2041, allocations: 4 kB / 411.4 MB, free: 27.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2041, allocations: 0 / 411.4 MB, free: 27.31 MB / 302.1 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.819e-05/0.2042, allocations: 117.7 kB / 411.5 MB, free: 27.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.2042, allocations: 4 kB / 411.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.2042, allocations: 7.891 kB / 411.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.2042, allocations: 0 / 411.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2042, allocations: 0 / 411.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2042, allocations: 12 kB / 411.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2044, allocations: 169.6 kB / 411.7 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2044, allocations: 0 / 411.7 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.2044, allocations: 4 kB / 411.7 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2044, allocations: 0 / 411.7 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2044, allocations: 0 / 411.7 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2044, allocations: 3.938 kB / 411.7 MB, free: 26.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2044, allocations: 0 / 411.7 MB, free: 26.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2046, allocations: 163.4 kB / 411.8 MB, free: 26.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.2046, allocations: 81.11 kB / 411.9 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2046, allocations: 3.984 kB / 411.9 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.2047, allocations: 4 kB / 411.9 MB, free: 26.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.2047, allocations: 4 kB / 411.9 MB, free: 26.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2047, allocations: 0 / 411.9 MB, free: 26.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.2048, allocations: 91.27 kB / 412 MB, free: 26.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2048, allocations: 0 / 412 MB, free: 26.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.205, allocations: 39.98 kB / 412 MB, free: 26.52 MB / 302.1 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.0006142/0.2057, allocations: 328.2 kB / 412.4 MB, free: 26.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2058, allocations: 27.86 kB / 412.4 MB, free: 26.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2058, allocations: 0 / 412.4 MB, free: 26.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.2058, allocations: 19.98 kB / 412.4 MB, free: 26.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2061, allocations: 12 kB / 412.4 MB, free: 26.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.2064, allocations: 137.9 kB / 412.6 MB, free: 26.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2065, allocations: 0.6768 MB / 413.2 MB, free: 25.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.2066, allocations: 8 kB / 413.2 MB, free: 25.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.2066, allocations: 11.44 kB / 413.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2066, allocations: 3.938 kB / 413.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of Templates: time 0.003711/0.2103, allocations: 1.391 MB / 414.6 MB, free: 23.94 MB / 302.1 MB make -j1 -f ExternData_ExternData.Examples.INITest.makefile (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 -s gbode -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1)