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.001259/0.001259, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001168/0.001168, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 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 1.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.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.875/0.875, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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. " [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.844e-06/1.844e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.449e-05, allocations: 3.438 kB / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.003129/0.003154, allocations: 1.685 MB / 0.5219 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004163, allocations: 0.596 MB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.004254, allocations: 8.5 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.00445, allocations: 24.34 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.00471, allocations: 68.58 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.004924, allocations: 79.77 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.005126, allocations: 137 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.005286, allocations: 41.62 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.00548, allocations: 75.81 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005583, allocations: 52.41 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.005611, allocations: 8.656 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.005691, allocations: 31.92 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.005781, allocations: 45.75 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.005835, allocations: 35.84 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.006056, allocations: 115.5 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006058, allocations: 0 / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006059, allocations: 0 / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.006063, allocations: 0.5625 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB 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.0005809/0.006644, allocations: 496.4 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.006685, allocations: 12.03 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.006845, allocations: 30.28 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.007118, allocations: 189 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.007132, allocations: 5.438 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.007156, allocations: 8.375 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.007377, allocations: 134.3 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.007389, allocations: 3.031 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.007403, allocations: 384 / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.007415, allocations: 7.938 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/0.007472, allocations: 19.98 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.008018, allocations: 359.4 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.008071, allocations: 23.06 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.008101, allocations: 17.69 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.00812, allocations: 0 / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.008268, allocations: 135.8 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.00827, allocations: 0 / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002073/0.008477, allocations: 61.53 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.00852, allocations: 83.8 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.008735, allocations: 262.7 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.008755, allocations: 33.7 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.008872, allocations: 178.7 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.008895, allocations: 7.938 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.00893, allocations: 19.38 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.00905, allocations: 0.5 MB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.009073, allocations: 4 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.009115, allocations: 70.09 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.009161, allocations: 35 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.009169, allocations: 4.938 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.065e-05/0.00926, allocations: 62.44 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.009276, allocations: 8 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.009281, allocations: 0.875 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.009299, allocations: 0 / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.009387, allocations: 13.2 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.009391, allocations: 0 / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.009426, allocations: 4 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.009434, allocations: 8.562 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 7.226e-05/0.009506, allocations: 157.2 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.009525, allocations: 15.91 kB / 0.5261 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.009555, allocations: 21.98 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009557, allocations: 0 / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.00956, allocations: 2.875 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.009564, allocations: 3.984 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.009669, allocations: 176.4 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00967, allocations: 0 / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.009697, allocations: 8 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.009698, allocations: 0 / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.009705, allocations: 3.984 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.009706, allocations: 3.125 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009707, allocations: 0 / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.009797, allocations: 96.28 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.009809, allocations: 11.91 kB / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.009822, allocations: 0 / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.009849, allocations: 7.938 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.00989, allocations: 7.984 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.009907, allocations: 4 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.61e-05/0.01, allocations: 199.3 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01, allocations: 0 / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001442/0.01015, allocations: 27.88 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB 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.000177/0.01032, allocations: 123.9 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.018e-05/0.01041, allocations: 19.62 kB / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01042, allocations: 0 / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.01044, allocations: 24.48 kB / 0.5268 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01065, allocations: 51.08 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.01121, allocations: 269.2 kB / 0.5271 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.01125, allocations: 71.33 kB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.0113, allocations: 17.59 kB / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.01133, allocations: 20.5 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01133, allocations: 1.125 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.003511/0.01484, allocations: 1.789 MB / 0.5289 GB, free: 9.16 MB / 0.4948 GB " [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.978583250194788]