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.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.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.001425/0.001424, allocations: 115.1 kB / 16.42 MB, free: 6.488 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.001568/0.001568, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01269/0.01269, allocations: 2.958 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 406.9 MB, free: 28.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07051/0.07187, allocations: 50.33 MB / 457.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002631/0.07454, allocations: 1.708 MB / 459 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.07662, allocations: 1.615 MB / 460.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.07669, allocations: 8 kB / 460.6 MB, free: 7.16 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0002832/0.07698, allocations: 47.7 kB / 460.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.0773, allocations: 115.5 kB / 460.8 MB, free: 7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.07752, allocations: 83.78 kB / 460.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.07767, allocations: 91.75 kB / 460.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.045e-05/0.07775, allocations: 16.23 kB / 461 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.07783, allocations: 39.78 kB / 461 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.07799, allocations: 39.84 kB / 461 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.07802, allocations: 4 kB / 461 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.0783, allocations: 199.8 kB / 461.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.07837, allocations: 27.91 kB / 461.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.07843, allocations: 39.72 kB / 461.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.07875, allocations: 223.5 kB / 461.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.07876, allocations: 0 / 461.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07877, allocations: 0 / 461.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.07878, allocations: 0 / 461.5 MB, free: 6.246 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.0005407/0.07933, allocations: 464.8 kB / 462 MB, free: 5.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.07937, allocations: 11.89 kB / 462 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.07942, allocations: 12.84 kB / 462 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.07965, allocations: 200 kB / 462.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.07967, allocations: 4.375 kB / 462.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.07969, allocations: 12.12 kB / 462.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.07989, allocations: 91.38 kB / 462.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.07991, allocations: 0 / 462.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.07993, allocations: 4 kB / 462.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.07994, allocations: 3.984 kB / 462.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.08009, allocations: 55.91 kB / 462.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.08046, allocations: 297.7 kB / 462.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.08069, allocations: 105.2 kB / 462.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.08081, allocations: 53.75 kB / 462.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-06/0.08083, allocations: 0 / 462.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.08103, allocations: 142.7 kB / 462.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.825e-06/0.08105, allocations: 0 / 462.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000445/0.0815, allocations: 227.3 kB / 463.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.08157, allocations: 114.8 kB / 463.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.08169, allocations: 141.7 kB / 463.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.08172, allocations: 29.7 kB / 463.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.08177, allocations: 96.12 kB / 463.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.08181, allocations: 31.56 kB / 463.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.08186, allocations: 29.64 kB / 463.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.08198, allocations: 322.8 kB / 463.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.08207, allocations: 35.98 kB / 463.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/0.08217, allocations: 57.69 kB / 464 MB, free: 3.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.08237, allocations: 145.1 kB / 464.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.08239, allocations: 4 kB / 464.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002947/0.08269, allocations: 187.2 kB / 464.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.08273, allocations: 37.69 kB / 464.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.08274, allocations: 0 / 464.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.08276, allocations: 3.938 kB / 464.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.08283, allocations: 15.98 kB / 464.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.08284, allocations: 0 / 464.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.08292, allocations: 11.91 kB / 464.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.08294, allocations: 8.328 kB / 464.4 MB, free: 3.031 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.0001159/0.08306, allocations: 160.1 kB / 464.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.0831, allocations: 15.89 kB / 464.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.08313, allocations: 8.375 kB / 464.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.08314, allocations: 3.984 kB / 464.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.08315, allocations: 4 kB / 464.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.08319, allocations: 85.02 kB / 464.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.08323, allocations: 7.938 kB / 464.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.0833, allocations: 11.98 kB / 464.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.08334, allocations: 8 kB / 464.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004202/0.08377, allocations: 425.5 kB / 465.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004202/0.0842, allocations: 463.5 kB / 465.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000121/0.08434, allocations: 71.97 kB / 465.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.761e-05/0.08442, allocations: 114.5 kB / 465.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Backend: time 3.3e-07/0.08443, allocations: 3.938 kB / 465.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.08568, allocations: 0.4992 MB / 466.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005391/0.08623, allocations: 0.7205 MB / 467 MB, free: 420 kB / 334.1 MB Notification: Performance of Templates: time 0.005394/0.09164, allocations: 2.641 MB / 469.6 MB, free: 13.77 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)