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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.001793/0.001793, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.002022/0.002022, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.551/1.551, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.0137/0.0137, allocations: 2.949 MB / 294 MB, free: 11.85 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.08 kB / 355.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1979, allocations: 50.34 MB / 405.7 MB, free: 32.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002376/0.2003, allocations: 1.548 MB / 407.2 MB, free: 31.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2014, allocations: 1.016 MB / 408.2 MB, free: 30.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.2014, allocations: 0 / 408.2 MB, free: 30.04 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0002086/0.2016, allocations: 27.86 kB / 408.3 MB, free: 30.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.2019, allocations: 103.5 kB / 408.4 MB, free: 29.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.283e-05/0.2019, allocations: 4 kB / 408.4 MB, free: 29.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.202, allocations: 31.92 kB / 408.4 MB, free: 29.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.2021, allocations: 23.92 kB / 408.4 MB, free: 29.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.2021, allocations: 11.98 kB / 408.4 MB, free: 29.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2023, allocations: 23.86 kB / 408.5 MB, free: 29.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2023, allocations: 4 kB / 408.5 MB, free: 29.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2024, allocations: 107.8 kB / 408.6 MB, free: 29.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.2024, allocations: 8 kB / 408.6 MB, free: 29.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.2025, allocations: 19.86 kB / 408.6 MB, free: 29.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2026, allocations: 121.8 kB / 408.7 MB, free: 29.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2027, allocations: 0 / 408.7 MB, free: 29.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2027, allocations: 4 kB / 408.7 MB, free: 29.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.2027, allocations: 0 / 408.7 MB, free: 29.56 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.0003781/0.2031, allocations: 383.3 kB / 409.1 MB, free: 29.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.2031, allocations: 11.89 kB / 409.1 MB, free: 29.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.2031, allocations: 8.844 kB / 409.1 MB, free: 29.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2033, allocations: 172.3 kB / 409.3 MB, free: 28.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.2033, allocations: 4.375 kB / 409.3 MB, free: 28.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.2033, allocations: 384 / 409.3 MB, free: 28.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2034, allocations: 57.75 kB / 409.3 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.2034, allocations: 0 / 409.3 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2034, allocations: 3.984 kB / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2034, allocations: 0 / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.2035, allocations: 19.98 kB / 409.4 MB, free: 28.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.2038, allocations: 264.9 kB / 409.6 MB, free: 28.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2039, allocations: 54.5 kB / 409.7 MB, free: 28.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.204, allocations: 20.94 kB / 409.7 MB, free: 28.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.204, allocations: 0 / 409.7 MB, free: 28.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/0.204, allocations: 30.56 kB / 409.7 MB, free: 28.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.204, allocations: 3.984 kB / 409.7 MB, free: 28.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001991/0.2042, allocations: 69.61 kB / 409.8 MB, free: 28.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.2043, allocations: 55.41 kB / 409.9 MB, free: 28.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.2043, allocations: 125.7 kB / 410 MB, free: 28.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.2044, allocations: 25.7 kB / 410 MB, free: 28.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.2044, allocations: 84.05 kB / 410.1 MB, free: 27.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.2044, allocations: 15.89 kB / 410.1 MB, free: 27.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.2044, allocations: 9.719 kB / 410.1 MB, free: 27.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.2045, allocations: 322.8 kB / 410.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.2045, allocations: 11.98 kB / 410.4 MB, free: 27.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.2045, allocations: 12 kB / 410.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.868e-05/0.2046, allocations: 24.84 kB / 410.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2046, allocations: 0 / 410.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.44e-05/0.2047, allocations: 61.52 kB / 410.5 MB, free: 27.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2047, allocations: 4 kB / 410.5 MB, free: 27.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2047, allocations: 4 kB / 410.5 MB, free: 27.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2048, allocations: 0 / 410.5 MB, free: 27.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.2048, allocations: 4 kB / 410.5 MB, free: 27.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2048, allocations: 7.984 kB / 410.6 MB, free: 27.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.2049, allocations: 11.98 kB / 410.6 MB, free: 27.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2049, allocations: 4 kB / 410.6 MB, free: 27.48 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.048e-05/0.2049, allocations: 109.8 kB / 410.7 MB, free: 27.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.2049, allocations: 4 kB / 410.7 MB, free: 27.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.205, allocations: 7.906 kB / 410.7 MB, free: 27.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.205, allocations: 0 / 410.7 MB, free: 27.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.205, allocations: 4 kB / 410.7 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.205, allocations: 4 kB / 410.7 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.2051, allocations: 165.6 kB / 410.9 MB, free: 27.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2051, allocations: 384 / 410.9 MB, free: 27.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.2051, allocations: 7.984 kB / 410.9 MB, free: 27.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2052, allocations: 0 / 410.9 MB, free: 27.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2052, allocations: 4 kB / 410.9 MB, free: 27.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2052, allocations: 3.938 kB / 410.9 MB, free: 27.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2052, allocations: 4 kB / 410.9 MB, free: 27.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2053, allocations: 159.3 kB / 411 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.2053, allocations: 85.11 kB / 411.1 MB, free: 26.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2053, allocations: 0 / 411.1 MB, free: 26.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.2054, allocations: 0 / 411.1 MB, free: 26.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.2054, allocations: 11.92 kB / 411.1 MB, free: 26.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.2054, allocations: 0 / 411.1 MB, free: 26.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.2055, allocations: 87.28 kB / 411.2 MB, free: 26.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2055, allocations: 0 / 411.2 MB, free: 26.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.2058, allocations: 39.98 kB / 411.3 MB, free: 26.7 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.0007553/0.2065, allocations: 333.8 kB / 411.6 MB, free: 26.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2067, allocations: 35.84 kB / 411.6 MB, free: 26.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2067, allocations: 0 / 411.6 MB, free: 26.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.2067, allocations: 12 kB / 411.6 MB, free: 26.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2071, allocations: 15.98 kB / 411.6 MB, free: 26.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.2073, allocations: 163.6 kB / 411.8 MB, free: 26.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.2074, allocations: 0.6845 MB / 412.5 MB, free: 25.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.2075, allocations: 15.42 kB / 412.5 MB, free: 25.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2075, allocations: 0 / 412.5 MB, free: 25.46 MB / 302.1 MB Notification: Performance of Templates: time 0.002697/0.2102, allocations: 1.609 MB / 414.1 MB, free: 23.86 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 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1)