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) 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.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001584/0.001584, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.0128/0.0128, allocations: 2.96 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 407 MB, free: 28.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07445/0.07571, allocations: 50.32 MB / 457.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002899/0.07864, allocations: 1.704 MB / 459 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.0809, allocations: 1.619 MB / 460.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.08099, allocations: 4 kB / 460.6 MB, free: 7.055 MB / 334.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.0003293/0.08132, allocations: 39.78 kB / 460.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.0817, allocations: 119.4 kB / 460.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.08196, allocations: 87.78 kB / 460.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.08212, allocations: 91.75 kB / 460.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.308e-05/0.08221, allocations: 12.23 kB / 461 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.08229, allocations: 39.8 kB / 461 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.08247, allocations: 39.83 kB / 461 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.0825, allocations: 4 kB / 461 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.08282, allocations: 211.7 kB / 461.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.08289, allocations: 19.92 kB / 461.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.08296, allocations: 47.73 kB / 461.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.08332, allocations: 223.3 kB / 461.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.08333, allocations: 0 / 461.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.08334, allocations: 4 kB / 461.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.08335, allocations: 0 / 461.5 MB, free: 6.129 MB / 334.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.0005548/0.08391, allocations: 456.3 kB / 462 MB, free: 5.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.08396, allocations: 15.89 kB / 462 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.08403, allocations: 8.891 kB / 462 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.08428, allocations: 204.1 kB / 462.2 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.0843, allocations: 4.375 kB / 462.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.08432, allocations: 12.11 kB / 462.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.08454, allocations: 95.31 kB / 462.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.08455, allocations: 0 / 462.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.08457, allocations: 4 kB / 462.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.08458, allocations: 0 / 462.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.08473, allocations: 59.89 kB / 462.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.08512, allocations: 305.7 kB / 462.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.08537, allocations: 97.22 kB / 462.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.08549, allocations: 61.75 kB / 462.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.08551, allocations: 0 / 462.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.08573, allocations: 142.7 kB / 463 MB, free: 4.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.08574, allocations: 0 / 463 MB, free: 4.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004665/0.08621, allocations: 223.3 kB / 463.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.08627, allocations: 114.7 kB / 463.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.0864, allocations: 137.8 kB / 463.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.08643, allocations: 25.7 kB / 463.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.08649, allocations: 96.12 kB / 463.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.08653, allocations: 31.89 kB / 463.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.08658, allocations: 25.7 kB / 463.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.0867, allocations: 322.8 kB / 463.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.0868, allocations: 39.97 kB / 464 MB, free: 3.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.08689, allocations: 53.7 kB / 464 MB, free: 3.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.0871, allocations: 156.9 kB / 464.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.08711, allocations: 0 / 464.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002999/0.08741, allocations: 183.2 kB / 464.3 MB, free: 3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.08746, allocations: 45.62 kB / 464.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.08747, allocations: 0 / 464.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.08749, allocations: 8 kB / 464.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.08756, allocations: 8 kB / 464.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.08758, allocations: 0 / 464.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.08765, allocations: 11.94 kB / 464.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.08767, allocations: 4 kB / 464.4 MB, free: 2.918 MB / 334.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.0001216/0.0878, allocations: 167.4 kB / 464.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.08783, allocations: 11.95 kB / 464.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.08786, allocations: 8.375 kB / 464.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.08788, allocations: 4.328 kB / 464.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.08788, allocations: 4 kB / 464.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.08793, allocations: 89.05 kB / 464.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.08797, allocations: 3.938 kB / 464.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.08804, allocations: 8 kB / 464.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.08809, allocations: 15.97 kB / 464.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004223/0.08851, allocations: 421.2 kB / 465.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004377/0.08896, allocations: 471.6 kB / 465.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001187/0.08909, allocations: 75.97 kB / 465.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.08917, allocations: 103.3 kB / 465.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.08918, allocations: 0 / 465.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.09053, allocations: 0.5007 MB / 466.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005783/0.09112, allocations: 0.7203 MB / 467 MB, free: 288 kB / 334.1 MB Notification: Performance of Templates: time 0.005812/0.09694, allocations: 2.641 MB / 469.6 MB, free: 13.65 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.JSONTest.makefile (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)