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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01082/0.01082, allocations: 2.944 MB / 19.67 MB, free: 2.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 222.9 MB / 244.2 MB, free: 7.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00096/0.00096, allocations: 106.7 kB / 295.4 MB, free: 7.594 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009273/0.0009274, allocations: 52.16 kB / 356.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.181, allocations: 50.33 MB / 406.8 MB, free: 29.03 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002541/0.1836, allocations: 1.62 MB / 408.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1847, allocations: 1.006 MB / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.1848, allocations: 0 / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.185, allocations: 23.92 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1852, allocations: 79.73 kB / 409.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.402e-05/0.1852, allocations: 11.98 kB / 409.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.1853, allocations: 31.86 kB / 409.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.567e-05/0.1854, allocations: 11.12 kB / 409.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.1854, allocations: 15.98 kB / 409.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1856, allocations: 19.8 kB / 409.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1856, allocations: 4 kB / 409.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1857, allocations: 107.9 kB / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.1857, allocations: 3.984 kB / 409.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.1858, allocations: 19.88 kB / 409.7 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1859, allocations: 133.8 kB / 409.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1859, allocations: 0 / 409.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.186, allocations: 0 / 409.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.186, allocations: 3.938 kB / 409.9 MB, free: 25.94 MB / 298.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.0003431/0.1863, allocations: 375.4 kB / 410.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1864, allocations: 8.031 kB / 410.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1864, allocations: 8.844 kB / 410.2 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1865, allocations: 172.3 kB / 410.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1865, allocations: 8.375 kB / 410.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.1865, allocations: 4.375 kB / 410.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/0.1866, allocations: 45.81 kB / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1867, allocations: 3.938 kB / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1867, allocations: 0 / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1867, allocations: 0 / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.1868, allocations: 27.92 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.187, allocations: 268.9 kB / 410.8 MB, free: 24.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1872, allocations: 42.62 kB / 410.8 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.1872, allocations: 16.86 kB / 410.8 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1872, allocations: 0 / 410.8 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.1873, allocations: 38.5 kB / 410.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.1873, allocations: 4 kB / 410.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001829/0.1874, allocations: 65.7 kB / 410.9 MB, free: 24.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.1875, allocations: 51.41 kB / 411 MB, free: 24.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.1875, allocations: 121.8 kB / 411.1 MB, free: 24.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-06/0.1876, allocations: 25.7 kB / 411.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.1876, allocations: 87.98 kB / 411.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.1876, allocations: 11.91 kB / 411.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.1876, allocations: 9.719 kB / 411.2 MB, free: 24.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.1877, allocations: 330.8 kB / 411.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.1877, allocations: 4 kB / 411.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.1878, allocations: 19.92 kB / 411.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.1878, allocations: 24.84 kB / 411.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1878, allocations: 0 / 411.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.087e-05/0.1879, allocations: 57.91 kB / 411.7 MB, free: 23.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1879, allocations: 9.719 kB / 411.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1879, allocations: 4 kB / 411.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.188, allocations: 0 / 411.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.188, allocations: 11.98 kB / 411.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.188, allocations: 0 / 411.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.1881, allocations: 4 kB / 411.7 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.1881, allocations: 0 / 411.7 MB, free: 23.89 MB / 298.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.234e-05/0.1881, allocations: 121.7 kB / 411.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.1881, allocations: 0 / 411.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.1882, allocations: 16.27 kB / 411.8 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1882, allocations: 4 kB / 411.8 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1882, allocations: 0 / 411.8 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1882, allocations: 0 / 411.8 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1883, allocations: 169.5 kB / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1883, allocations: 0 / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1883, allocations: 4 kB / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1883, allocations: 0 / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1884, allocations: 8 kB / 412 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1884, allocations: 0 / 412 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1884, allocations: 0 / 412 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1886, allocations: 0.7161 MB / 412.7 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.1886, allocations: 85 kB / 412.8 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1887, allocations: 3.938 kB / 412.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.1887, allocations: 7.938 kB / 412.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1888, allocations: 0 / 412.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1888, allocations: 4 kB / 412.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.346e-05/0.1888, allocations: 91.27 kB / 412.9 MB, free: 22.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1888, allocations: 4 kB / 412.9 MB, free: 22.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.1892, allocations: 43.98 kB / 413 MB, free: 22.48 MB / 298.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.000532/0.1897, allocations: 318.5 kB / 413.3 MB, free: 22.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1898, allocations: 39.89 kB / 413.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1898, allocations: 0 / 413.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.1899, allocations: 12 kB / 413.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.1901, allocations: 13.02 kB / 413.3 MB, free: 22.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.1904, allocations: 246.7 kB / 413.6 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.1905, allocations: 0.6887 MB / 414.3 MB, free: 21.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.282e-05/0.1906, allocations: 4 kB / 414.3 MB, free: 21.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1906, allocations: 11.44 kB / 414.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1906, allocations: 3.938 kB / 414.3 MB, free: 21.17 MB / 298.7 MB Notification: Performance of Templates: time 0.002825/0.1934, allocations: 1.352 MB / 415.6 MB, free: 19.82 MB / 298.7 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)