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.001432/0.001432, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.00201/0.00201, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9974/0.9974, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7647/0.7647, allocations: 154.6 MB / 415.6 MB, free: 0.5469 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.313e-06/1.313e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.378e-05, allocations: 4.281 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.001902/0.001916, allocations: 1.674 MB / 0.5231 GB, free: 272 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006877/0.002604, allocations: 0.5898 MB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.196e-05/0.002676, allocations: 10.12 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.002824, allocations: 27.78 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.003008, allocations: 67.59 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.003155, allocations: 79.78 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003301, allocations: 136 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.003423, allocations: 34.2 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.003566, allocations: 83.78 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.003641, allocations: 52.88 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.003661, allocations: 8 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.303e-05/0.003714, allocations: 24.47 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.003777, allocations: 49.17 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.003809, allocations: 31.86 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003949, allocations: 119.5 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.003951, allocations: 0 / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.81e-07/0.003951, allocations: 0.9375 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003955, allocations: 0 / 0.5244 GB, free: 14.96 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.0003875/0.004342, allocations: 0.4893 MB / 0.5249 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.004376, allocations: 8.031 kB / 0.5249 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.004481, allocations: 28.83 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.004661, allocations: 194 kB / 0.5251 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.00467, allocations: 4.375 kB / 0.5251 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.004681, allocations: 9.656 kB / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.004809, allocations: 130.3 kB / 0.5252 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.004816, allocations: 192 / 0.5252 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004824, allocations: 5 kB / 0.5253 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.004831, allocations: 8.906 kB / 0.5253 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.004853, allocations: 11.98 kB / 0.5253 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.005136, allocations: 320.6 kB / 0.5256 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.744e-05/0.005173, allocations: 27.84 kB / 0.5256 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.005189, allocations: 11.67 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.0052, allocations: 6.125 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.885e-05/0.005299, allocations: 139.7 kB / 0.5258 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.0053, allocations: 0 / 0.5258 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001195/0.005419, allocations: 49.61 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.005449, allocations: 81.09 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.005572, allocations: 254.7 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.005586, allocations: 32.95 kB / 0.5262 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.005656, allocations: 186.7 kB / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.00567, allocations: 3.953 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.005699, allocations: 19.38 kB / 0.5264 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.005824, allocations: 0.5078 MB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.005834, allocations: 0 / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.00587, allocations: 76.56 kB / 0.5269 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.005903, allocations: 30.09 kB / 0.5269 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005905, allocations: 0 / 0.5269 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.957e-05/0.005975, allocations: 65.53 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.005985, allocations: 5.406 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005989, allocations: 0 / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.005997, allocations: 5.594 kB / 0.527 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.006048, allocations: 15.91 kB / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006051, allocations: 0 / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.006084, allocations: 11.94 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.006089, allocations: 0.5 kB / 0.527 GB, free: 12 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.153e-05/0.00616, allocations: 169.5 kB / 0.5272 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.006178, allocations: 15.91 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.006198, allocations: 13.94 kB / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.0062, allocations: 0 / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.006202, allocations: 3.984 kB / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006205, allocations: 0.625 kB / 0.5272 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.006298, allocations: 137.1 kB / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006299, allocations: 0.5 kB / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.006324, allocations: 10.62 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.006325, allocations: 0 / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.006329, allocations: 0 / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00633, allocations: 0 / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.006331, allocations: 3.984 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/0.006408, allocations: 100.2 kB / 0.5275 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.006419, allocations: 15.84 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.006431, allocations: 6.438 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.744e-05/0.006458, allocations: 4 kB / 0.5275 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.006488, allocations: 3.984 kB / 0.5275 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.006501, allocations: 4 kB / 0.5275 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.987e-05/0.006571, allocations: 185.5 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006571, allocations: 0 / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001425/0.006713, allocations: 21.62 kB / 0.5277 GB, free: 11.28 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.0001462/0.006859, allocations: 130.3 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.306e-05/0.006933, allocations: 19.62 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.006933, allocations: 1.406 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.9e-05/0.006952, allocations: 15.67 kB / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.007141, allocations: 60.58 kB / 0.5279 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.007578, allocations: 273.3 kB / 0.5282 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.007614, allocations: 71.33 kB / 0.5283 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.007656, allocations: 22.58 kB / 0.5283 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.007732, allocations: 94.17 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.007732, allocations: 0 / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.003372/0.0111, allocations: 1.938 MB / 0.5303 GB, free: 8.75 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.7136421487666667]