Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.JSONTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 101.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01857/0.01857, allocations: 2.966 MB / 308 MB, free: 6.121 MB / 238.1 MB [Timeout remaining time 90] 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.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 429.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1197, allocations: 53.08 MB / 482.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.003401/0.1231, allocations: 1.708 MB / 483.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.1258, allocations: 1.667 MB / 485.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.1258, allocations: 4 kB / 485.6 MB, free: 12.04 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:104:3-139:15:writable] Warning: Pure function 'ExternData.JSONFile' contains a call to impure function 'ExternData.Types.ExternJSONFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.1262, allocations: 47.77 kB / 485.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.1266, allocations: 115.5 kB / 485.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1269, allocations: 91.77 kB / 485.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1271, allocations: 87.7 kB / 485.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.1271, allocations: 8.234 kB / 485.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.1272, allocations: 39.84 kB / 486 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1274, allocations: 35.84 kB / 486 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1275, allocations: 12 kB / 486 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.1278, allocations: 207.7 kB / 486.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.1279, allocations: 19.92 kB / 486.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.128, allocations: 35.81 kB / 486.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.1284, allocations: 235.1 kB / 486.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1284, allocations: 0 / 486.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1284, allocations: 4 kB / 486.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1284, allocations: 0 / 486.5 MB, free: 11.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007041/0.1291, allocations: 456.3 kB / 486.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1292, allocations: 19.89 kB / 487 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.1292, allocations: 12.89 kB / 487 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1296, allocations: 196.2 kB / 487.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1296, allocations: 384 / 487.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1296, allocations: 8.125 kB / 487.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1298, allocations: 99.31 kB / 487.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1298, allocations: 0 / 487.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1299, allocations: 4 kB / 487.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1299, allocations: 0 / 487.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.13, allocations: 55.95 kB / 487.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1304, allocations: 301.7 kB / 487.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1307, allocations: 89.22 kB / 487.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1308, allocations: 45.91 kB / 487.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1308, allocations: 3.938 kB / 487.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1311, allocations: 146.7 kB / 487.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1311, allocations: 4 kB / 487.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005208/0.1316, allocations: 227.4 kB / 488.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.1317, allocations: 110.8 kB / 488.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1318, allocations: 136.9 kB / 488.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1319, allocations: 29.7 kB / 488.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.1319, allocations: 92.12 kB / 488.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.132, allocations: 23.75 kB / 488.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.132, allocations: 33.7 kB / 488.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.1322, allocations: 326.8 kB / 488.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.1323, allocations: 35.98 kB / 488.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.389e-05/0.1324, allocations: 53.69 kB / 489 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1326, allocations: 153 kB / 489.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1326, allocations: 3.938 kB / 489.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003184/0.133, allocations: 191.2 kB / 489.3 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.133, allocations: 37.69 kB / 489.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.133, allocations: 0 / 489.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.133, allocations: 0 / 489.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.1331, allocations: 11.98 kB / 489.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1331, allocations: 4.312 kB / 489.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.1332, allocations: 11.89 kB / 489.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1332, allocations: 11.94 kB / 489.4 MB, free: 7.918 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001471/0.1333, allocations: 163.4 kB / 489.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1334, allocations: 15.95 kB / 489.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.1334, allocations: 12.31 kB / 489.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1334, allocations: 0 / 489.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1334, allocations: 4 kB / 489.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1334, allocations: 3.984 kB / 489.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1336, allocations: 197.5 kB / 489.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1336, allocations: 4 kB / 489.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.1337, allocations: 8 kB / 489.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1337, allocations: 4 kB / 489.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1337, allocations: 4 kB / 489.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1337, allocations: 4 kB / 489.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1337, allocations: 0 / 489.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.1341, allocations: 267.4 kB / 490 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.1342, allocations: 85.06 kB / 490.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.1343, allocations: 4 kB / 490.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.1343, allocations: 7.984 kB / 490.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1344, allocations: 12 kB / 490.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1344, allocations: 7.938 kB / 490.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.1345, allocations: 107.2 kB / 490.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1345, allocations: 0 / 490.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.1348, allocations: 87.67 kB / 490.3 MB, free: 6.828 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001182/0.136, allocations: 386.1 kB / 490.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.1364, allocations: 159.2 kB / 490.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1364, allocations: 4 kB / 490.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1365, allocations: 107.4 kB / 491 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1368, allocations: 19.59 kB / 491 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.1373, allocations: 249.3 kB / 491.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1376, allocations: 0.7001 MB / 492 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.1377, allocations: 19.44 kB / 492 MB, free: 5.207 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1377, allocations: 0 / 492 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Templates: time 0.005262/0.1429, allocations: 2.6 MB / 494.6 MB, free: 2.609 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.JSONTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.JSONTest.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest.pipe >> ../files/ExternData_ExternData.Examples.JSONTest.sim & ./ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.JSONTest.pipe 2>&1) [Timeout 480]