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.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.0006695/0.0006695, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008711/0.001541, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006715/0.0006715, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008339/0.001505, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9561/0.9561, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07731/1.033, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.01467/0.01467, allocations: 2.258 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003487/0.01816, allocations: 1.417 MB / 247.6 MB, free: 11.18 MB / 250.7 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.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.458e-05, allocations: 2.312 kB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002841/0.002855, allocations: 1.808 MB / 250.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.00522, allocations: 1.804 MB / 252.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.005277, allocations: 0 / 252.5 MB, free: 6.281 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:86:3-121:15:writable] Warning: Pure function 'ExternData.JSONFile' contains a call to impure function 'ExternData.Types.ExternJSONFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.005468, allocations: 43.7 kB / 252.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.005702, allocations: 119.4 kB / 252.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.00584, allocations: 83.7 kB / 252.8 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.005945, allocations: 83.72 kB / 252.8 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.006007, allocations: 8.219 kB / 252.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.006095, allocations: 75.77 kB / 252.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.006185, allocations: 27.91 kB / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.006198, allocations: 4 kB / 252.9 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.006428, allocations: 199.7 kB / 253.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.006468, allocations: 15.94 kB / 253.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.006497, allocations: 16 kB / 253.2 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.00672, allocations: 215.3 kB / 253.4 MB, free: 5.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.006732, allocations: 0 / 253.4 MB, free: 5.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006733, allocations: 4 kB / 253.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.006745, allocations: 0 / 253.4 MB, free: 5.398 MB / 250.7 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.0004037/0.007149, allocations: 385.4 kB / 253.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.537e-05/0.007174, allocations: 8.031 kB / 253.8 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.00721, allocations: 12.94 kB / 253.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.007336, allocations: 133.6 kB / 253.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.007344, allocations: 384 / 253.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.007354, allocations: 8.375 kB / 253.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.007471, allocations: 121.2 kB / 254 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.007478, allocations: 3.938 kB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.007485, allocations: 0 / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007491, allocations: 4 kB / 254 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.007535, allocations: 60.44 kB / 254.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.007708, allocations: 179.9 kB / 254.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.007831, allocations: 107 kB / 254.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.007864, allocations: 51.42 kB / 254.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.007875, allocations: 8 kB / 254.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.007988, allocations: 159.2 kB / 254.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 6.92e-07/0.007989, allocations: 4 kB / 254.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001587/0.008147, allocations: 189.5 kB / 254.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.008188, allocations: 110.8 kB / 254.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.042e-05/0.008248, allocations: 134 kB / 255 MB, free: 3.523 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.008258, allocations: 25.7 kB / 255.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.00828, allocations: 92.11 kB / 255.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.008302, allocations: 27.75 kB / 255.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.008336, allocations: 29.69 kB / 255.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.008396, allocations: 322.8 kB / 255.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.008422, allocations: 44.52 kB / 255.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.008454, allocations: 67.39 kB / 255.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.008518, allocations: 115.8 kB / 255.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008521, allocations: 4 kB / 255.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003162/0.008837, allocations: 147.8 kB / 255.9 MB, free: 2.582 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.008865, allocations: 37.7 kB / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.008869, allocations: 0 / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.008876, allocations: 0 / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/0.008919, allocations: 15.98 kB / 255.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.008922, allocations: 0 / 255.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.008954, allocations: 11.95 kB / 256 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.008961, allocations: 4 kB / 256 MB, free: 2.508 MB / 250.7 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 6.504e-05/0.009026, allocations: 150.4 kB / 256.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.009042, allocations: 19.92 kB / 256.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.009059, allocations: 8.438 kB / 256.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.009061, allocations: 0 / 256.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009062, allocations: 3.938 kB / 256.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.009065, allocations: 0 / 256.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.195e-05/0.009137, allocations: 101.7 kB / 256.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.009138, allocations: 0 / 256.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.009162, allocations: 16 kB / 256.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.009173, allocations: 11.94 kB / 256.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.009176, allocations: 3.938 kB / 256.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.009181, allocations: 0 / 256.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009183, allocations: 4 kB / 256.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009183, allocations: 0 / 256.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.009295, allocations: 191 kB / 256.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.009312, allocations: 7.875 kB / 256.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.009337, allocations: 8.062 kB / 256.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.009359, allocations: 11.98 kB / 256.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.00937, allocations: 4.328 kB / 256.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.865e-05/0.009388, allocations: 28.83 kB / 256.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009388, allocations: 0 / 256.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.009564, allocations: 79.73 kB / 256.6 MB, free: 1.797 MB / 250.7 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.0009334/0.0105, allocations: 0.5214 MB / 257.1 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01063, allocations: 183.6 kB / 257.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.01064, allocations: 0 / 257.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.0107, allocations: 129.9 kB / 257.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.0108, allocations: 38.69 kB / 257.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.01119, allocations: 256.6 kB / 257.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.01122, allocations: 63.34 kB / 257.8 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.455e-05/0.01124, allocations: 8 kB / 257.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.01132, allocations: 79.36 kB / 257.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01132, allocations: 0 / 257.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of Templates: time 0.003918/0.01524, allocations: 2.897 MB / 260.8 MB, free: 13.71 MB / 266.7 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.JSONTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.457853647880256]