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.001025/0.001025, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001016/0.001016, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9726/0.9726, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.787/0.787, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.302e-06/1.302e-06, allocations: 0 / 0.5207 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.155e-05, allocations: 8.484 kB / 0.5207 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002505/0.002527, allocations: 1.672 MB / 0.5224 GB, free: 276 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.003399, allocations: 0.5998 MB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.003505, allocations: 7.938 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.003687, allocations: 23.8 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.003916, allocations: 67.55 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.004134, allocations: 75.78 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.004309, allocations: 140 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.004446, allocations: 35.11 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.004623, allocations: 79.8 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.004708, allocations: 47.88 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.004731, allocations: 8.969 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.004801, allocations: 39.8 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.004869, allocations: 48.8 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.004903, allocations: 27.92 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.005059, allocations: 115.5 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005061, allocations: 1 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005062, allocations: 0 / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.005066, allocations: 0 / 0.5236 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.000443/0.005509, allocations: 0.489 MB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.005545, allocations: 8.031 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.005667, allocations: 34.05 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.005866, allocations: 194.7 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-06/0.005875, allocations: 384 / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.005887, allocations: 20.25 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.006031, allocations: 126.3 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.006038, allocations: 192 / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.006047, allocations: 6.094 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.006053, allocations: 3.938 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.006077, allocations: 15.98 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.006408, allocations: 316.1 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.006446, allocations: 28.44 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.006461, allocations: 7.688 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.006475, allocations: 0 / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.006588, allocations: 140.3 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.006589, allocations: 0.75 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001274/0.006716, allocations: 57.58 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.006746, allocations: 78.58 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.006876, allocations: 262.6 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.006889, allocations: 25.7 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.00696, allocations: 182.7 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.006974, allocations: 8.484 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.007002, allocations: 27.31 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.007125, allocations: 0.5014 MB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.007138, allocations: 3.984 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.007178, allocations: 64.44 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.907e-05/0.007217, allocations: 33.59 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007219, allocations: 0 / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.17e-05/0.007291, allocations: 69.47 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.007302, allocations: 6.75 kB / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.007306, allocations: 0 / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.007317, allocations: 0 / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.007376, allocations: 11.98 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.007378, allocations: 0 / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.007411, allocations: 7.938 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.007418, allocations: 8 kB / 0.5263 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.663e-05/0.007495, allocations: 169.6 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.007512, allocations: 15.91 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.007538, allocations: 13.03 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00754, allocations: 4.875 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007541, allocations: 0 / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007544, allocations: 0.9375 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.007637, allocations: 141.1 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007638, allocations: 0 / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.007663, allocations: 5.094 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.007667, allocations: 4 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.007671, allocations: 1.75 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007672, allocations: 3.938 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007673, allocations: 0 / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.007758, allocations: 96.27 kB / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.007771, allocations: 15.89 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.007783, allocations: 4.656 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.007809, allocations: 4.656 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.007839, allocations: 3.984 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.007856, allocations: 8.656 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.381e-05/0.007929, allocations: 177.5 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00793, allocations: 5.219 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001494/0.008079, allocations: 20 kB / 0.5269 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.0001769/0.008256, allocations: 127.1 kB / 0.5271 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.086e-05/0.008337, allocations: 26.64 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008339, allocations: 0 / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.008358, allocations: 15.67 kB / 0.5271 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.0002044/0.008562, allocations: 55.69 kB / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.009052, allocations: 272.1 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.958e-05/0.009091, allocations: 71.33 kB / 0.5275 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.383e-05/0.009135, allocations: 13.38 kB / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.009218, allocations: 98.17 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.009219, allocations: 3.719 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.007424/0.01664, allocations: 1.916 MB / 0.5295 GB, free: 8.781 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.738581871148199]