Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.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.0007289/0.0007289, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000888/0.001617, 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.0007731/0.0007731, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01059/0.01136, 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.9738/0.9738, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09863/1.072, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7731/0.7731, allocations: 154.6 MB / 398.5 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2694/1.043, allocations: 49.04 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 448.9 MB, free: 5.426 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.329e-05, allocations: 4.516 kB / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002009/0.002032, allocations: 1.729 MB / 450.6 MB, free: 3.723 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007164/0.002748, allocations: 0.6055 MB / 451.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.002819, allocations: 8.703 kB / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.002922, allocations: 32.42 kB / 451.2 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003078, allocations: 58.09 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003222, allocations: 81.55 kB / 451.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.003372, allocations: 141.3 kB / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003484, allocations: 43.22 kB / 451.6 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.003639, allocations: 92.3 kB / 451.6 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.003719, allocations: 49.05 kB / 451.7 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.003741, allocations: 8 kB / 451.7 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.003815, allocations: 31.91 kB / 451.7 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.003872, allocations: 40.52 kB / 451.8 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.003906, allocations: 23.94 kB / 451.8 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.004053, allocations: 112.5 kB / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.004066, allocations: 0 / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004067, allocations: 1.656 kB / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.004082, allocations: 0 / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004244/0.004506, allocations: 393.7 kB / 452.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.004533, allocations: 8.031 kB / 452.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.004665, allocations: 108 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.004855, allocations: 185.1 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.004865, allocations: 12.09 kB / 452.6 MB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.004874, allocations: 4.375 kB / 452.6 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.005063, allocations: 148.9 kB / 452.7 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.00507, allocations: 0 / 452.7 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.005077, allocations: 4 kB / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005082, allocations: 0.6875 kB / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.005107, allocations: 11.98 kB / 452.8 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.005371, allocations: 222.3 kB / 453 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.217e-05/0.005403, allocations: 15.77 kB / 453 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.005417, allocations: 8.922 kB / 453 MB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.005428, allocations: 0 / 453 MB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.005531, allocations: 133.3 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.005531, allocations: 0 / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001004/0.005632, allocations: 42.56 kB / 453.2 MB, free: 1.035 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.005656, allocations: 51.41 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.005768, allocations: 209.7 kB / 453.4 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.005782, allocations: 33.7 kB / 453.5 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.005823, allocations: 113.3 kB / 453.6 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.00584, allocations: 11.89 kB / 453.6 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.005867, allocations: 18.22 kB / 453.6 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.005948, allocations: 335.9 kB / 453.9 MB, free: 236 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.005957, allocations: 0 / 453.9 MB, free: 236 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.005989, allocations: 74.95 kB / 454 MB, free: 140 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.006017, allocations: 29.58 kB / 454 MB, free: 104 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006019, allocations: 0 / 454 MB, free: 104 kB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.999e-05/0.006069, allocations: 54.78 kB / 454.1 MB, free: 44 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.006079, allocations: 4 kB / 454.1 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006083, allocations: 0.6562 kB / 454.1 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.006091, allocations: 1.562 kB / 454.1 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.006152, allocations: 15.92 kB / 454.1 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.006155, allocations: 3.984 kB / 454.1 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.006185, allocations: 11.92 kB / 454.1 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.006196, allocations: 5.344 kB / 454.1 MB, free: 4 kB / 426.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: 1 ($whenCondition1) * 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 6.404e-05/0.00626, allocations: 112.7 kB / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.006271, allocations: 11.98 kB / 454.2 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.006293, allocations: 13.69 kB / 454.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006296, allocations: 5.781 kB / 454.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.006298, allocations: 5.234 kB / 454.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.0063, allocations: 0 / 454.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.926e-05/0.00637, allocations: 93.78 kB / 454.4 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.00637, allocations: 4.906 kB / 454.4 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.006393, allocations: 7.938 kB / 454.4 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-06/0.006403, allocations: 12.78 kB / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.006406, allocations: 3.984 kB / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.00641, allocations: 0 / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006411, allocations: 4.906 kB / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006412, allocations: 0 / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.957e-05/0.006471, allocations: 77.66 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.006486, allocations: 4 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/0.006509, allocations: 4.625 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.006535, allocations: 8.609 kB / 454.5 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.006544, allocations: 4 kB / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.006592, allocations: 70.25 kB / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006592, allocations: 0 / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001109/0.006703, allocations: 28.52 kB / 454.6 MB, free: 15.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.000148/0.006851, allocations: 105.5 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.578e-05/0.006926, allocations: 20.84 kB / 454.7 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.006933, allocations: 4 kB / 454.7 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.498e-05/0.006948, allocations: 8.859 kB / 454.7 MB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.007079, allocations: 49.52 kB / 454.8 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.007768, allocations: 287.9 kB / 455.1 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.007801, allocations: 71.33 kB / 455.1 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.007847, allocations: 18.81 kB / 455.1 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.007919, allocations: 71.36 kB / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00792, allocations: 0 / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of Templates: time 0.003338/0.01126, allocations: 1.892 MB / 457.1 MB, free: 13.12 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5476495632901788]