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.001363/0.001363, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001552/0.001552, allocations: 222.1 kB / 23 MB, free: 4.914 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] 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.01963/0.01963, allocations: 3.284 MB / 316.5 MB, free: 15.64 MB / 254.1 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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002989/0.002989, allocations: 67.89 kB / 440.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1532, allocations: 54.38 MB / 495.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.004199/0.1574, allocations: 1.554 MB / 496.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1601, allocations: 1.126 MB / 497.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.1602, allocations: 0 / 497.8 MB, free: 2.32 MB / 350.1 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.000306/0.1605, allocations: 23.88 kB / 497.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.161, allocations: 107.5 kB / 497.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.906e-05/0.1611, allocations: 15.98 kB / 498 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.1611, allocations: 27.92 kB / 498 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.1612, allocations: 11.94 kB / 498 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.1613, allocations: 15.97 kB / 498 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1614, allocations: 19.86 kB / 498 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1615, allocations: 0 / 498 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.1618, allocations: 103.9 kB / 498.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1618, allocations: 4 kB / 498.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.1618, allocations: 11.94 kB / 498.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.1622, allocations: 123.6 kB / 498.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1622, allocations: 4 kB / 498.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1622, allocations: 4 kB / 498.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1622, allocations: 0 / 498.3 MB, free: 1.855 MB / 350.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.0006459/0.1628, allocations: 309.8 kB / 498.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1629, allocations: 12.03 kB / 498.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1629, allocations: 4.891 kB / 498.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1632, allocations: 126.4 kB / 498.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1632, allocations: 384 / 498.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1632, allocations: 8.312 kB / 498.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1634, allocations: 45.81 kB / 498.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1634, allocations: 4 kB / 498.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1634, allocations: 3.984 kB / 498.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1634, allocations: 0 / 498.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1636, allocations: 23.98 kB / 498.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.164, allocations: 216.5 kB / 499 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1643, allocations: 46.62 kB / 499.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.1644, allocations: 16.86 kB / 499.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1644, allocations: 0 / 499.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1644, allocations: 34.66 kB / 499.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.1644, allocations: 0 / 499.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003871/0.1648, allocations: 73.55 kB / 499.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.1649, allocations: 55.41 kB / 499.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.165, allocations: 117.8 kB / 499.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1651, allocations: 25.7 kB / 499.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1651, allocations: 84.14 kB / 499.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1651, allocations: 15.91 kB / 499.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.1652, allocations: 17.7 kB / 499.5 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1654, allocations: 314.8 kB / 499.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.1655, allocations: 11.98 kB / 499.8 MB, free: 160 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.1655, allocations: 8 kB / 499.8 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1656, allocations: 36.72 kB / 499.9 MB, free: 112 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1656, allocations: 0 / 499.9 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001965/0.1658, allocations: 61.61 kB / 499.9 MB, free: 44 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1658, allocations: 4 kB / 499.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1658, allocations: 0 / 499.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1659, allocations: 0 / 499.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.1659, allocations: 12 kB / 499.9 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1659, allocations: 0 / 499.9 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.166, allocations: 3.984 kB / 499.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.166, allocations: 4 kB / 499.9 MB, free: 20 kB / 350.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 0.0001496/0.1661, allocations: 114.2 kB / 0.4883 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.1662, allocations: 7.953 kB / 0.4883 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.1662, allocations: 4 kB / 0.4883 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1662, allocations: 0 / 0.4883 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1662, allocations: 3.938 kB / 0.4883 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1662, allocations: 4 kB / 0.4883 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1665, allocations: 117.2 kB / 0.4885 GB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.1665, allocations: 4 kB / 0.4885 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.1666, allocations: 11.92 kB / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1666, allocations: 0 / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1666, allocations: 0 / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1666, allocations: 0 / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1666, allocations: 0 / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1669, allocations: 163.7 kB / 0.4886 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.1669, allocations: 4 kB / 0.4886 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1669, allocations: 0 / 0.4886 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.167, allocations: 8 kB / 0.4886 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.1671, allocations: 3.984 kB / 0.4886 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1671, allocations: 0 / 0.4886 GB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1672, allocations: 95.27 kB / 0.4887 GB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1672, allocations: 0 / 0.4887 GB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.1677, allocations: 43.75 kB / 0.4888 GB, free: 15.38 MB / 366.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.001207/0.1689, allocations: 324.3 kB / 0.4891 GB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1691, allocations: 27.98 kB / 0.4891 GB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1691, allocations: 4 kB / 0.4891 GB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.1692, allocations: 11.98 kB / 0.4891 GB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1696, allocations: 15.88 kB / 0.4891 GB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.1701, allocations: 155.3 kB / 0.4893 GB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.1702, allocations: 67.34 kB / 0.4894 GB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.1702, allocations: 15.42 kB / 0.4894 GB, free: 14.79 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1702, allocations: 0 / 0.4894 GB, free: 14.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005314/0.1755, allocations: 1.596 MB / 0.4909 GB, free: 13.2 MB / 366.1 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.392558902967721] Failed to read output from testmodel.py, exit status != 0: 0.18773405626416206 0.38309494400000005 0.047006819000000005 Calling exit ...