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-master/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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.001283/0.001283, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.2181/0.2181, allocations: 2.921 MB / 293.3 MB, free: 3.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 63.89 kB / 354.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1413, allocations: 50.33 MB / 405 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003406/0.1447, allocations: 1.545 MB / 406.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1463, allocations: 1.023 MB / 407.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.1464, allocations: 0 / 407.6 MB, free: 14.73 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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.0002416/0.1467, allocations: 19.81 kB / 407.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.147, allocations: 111.5 kB / 407.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.88e-05/0.147, allocations: 7.984 kB / 407.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.1471, allocations: 31.92 kB / 407.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.1472, allocations: 8 kB / 407.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.1473, allocations: 19.91 kB / 407.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1474, allocations: 23.92 kB / 407.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1474, allocations: 0 / 407.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1477, allocations: 115.8 kB / 407.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.1477, allocations: 7.938 kB / 407.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1477, allocations: 11.94 kB / 407.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.148, allocations: 124 kB / 408 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.148, allocations: 4 kB / 408 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.148, allocations: 0 / 408 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.148, allocations: 0 / 408 MB, free: 14.25 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.0005383/0.1485, allocations: 387.2 kB / 408.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1486, allocations: 15.89 kB / 408.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1486, allocations: 0.9375 kB / 408.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1488, allocations: 184.2 kB / 408.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1489, allocations: 4.375 kB / 408.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1489, allocations: 384 / 408.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.149, allocations: 49.81 kB / 408.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.149, allocations: 0 / 408.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1491, allocations: 8 kB / 408.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1491, allocations: 4 kB / 408.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/0.1492, allocations: 19.98 kB / 408.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.1496, allocations: 268.8 kB / 409 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1498, allocations: 50.61 kB / 409 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1499, allocations: 16.86 kB / 409 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.1499, allocations: 0 / 409 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1499, allocations: 34.64 kB / 409.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1499, allocations: 0 / 409.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002833/0.1502, allocations: 69.53 kB / 409.1 MB, free: 13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.1503, allocations: 55.39 kB / 409.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1504, allocations: 117.8 kB / 409.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1505, allocations: 29.7 kB / 409.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1505, allocations: 88.14 kB / 409.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1506, allocations: 3.906 kB / 409.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1506, allocations: 21.7 kB / 409.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1508, allocations: 314.8 kB / 409.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.1508, allocations: 12 kB / 409.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.1509, allocations: 7.984 kB / 409.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.151, allocations: 32.78 kB / 409.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.151, allocations: 0 / 409.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001304/0.1511, allocations: 61.59 kB / 409.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1511, allocations: 10.02 kB / 409.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1512, allocations: 0 / 409.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1512, allocations: 0 / 409.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.1512, allocations: 8 kB / 409.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1512, allocations: 3.938 kB / 409.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.1513, allocations: 3.938 kB / 409.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1513, allocations: 0 / 409.9 MB, free: 12.19 MB / 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.0001083/0.1514, allocations: 121.8 kB / 410 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.1514, allocations: 11.89 kB / 410 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.1515, allocations: 3.906 kB / 410 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1515, allocations: 0 / 410 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1515, allocations: 0 / 410 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1515, allocations: 0 / 410 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.1517, allocations: 169.6 kB / 410.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1517, allocations: 0 / 410.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.1518, allocations: 11.94 kB / 410.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1518, allocations: 4 kB / 410.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1518, allocations: 0 / 410.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1518, allocations: 0 / 410.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1518, allocations: 3.984 kB / 410.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.152, allocations: 151.5 kB / 410.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.1521, allocations: 85.38 kB / 410.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1521, allocations: 0 / 410.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.1522, allocations: 12 kB / 410.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1522, allocations: 0 / 410.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1522, allocations: 3.984 kB / 410.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.1523, allocations: 103.6 kB / 410.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1523, allocations: 0 / 410.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.1526, allocations: 35.98 kB / 410.6 MB, free: 11.39 MB / 350.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.001047/0.1537, allocations: 322.3 kB / 410.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1539, allocations: 27.92 kB / 410.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1539, allocations: 0 / 410.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.1539, allocations: 15.98 kB / 410.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1543, allocations: 5.547 kB / 411 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.1547, allocations: 146 kB / 411.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.1552, allocations: 0.6844 MB / 411.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.1552, allocations: 4 kB / 411.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.1552, allocations: 11.44 kB / 411.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1552, allocations: 0 / 411.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Templates: time 0.004898/0.1602, allocations: 1.39 MB / 413.2 MB, free: 8.812 MB / 350.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)