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.001675/0.001675, allocations: 88.72 kB / 19.44 MB, free: 356 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.002234/0.002234, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.24/1.24, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 178] 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 2.053e-06/2.053e-06, allocations: 0.7656 kB / 0.5196 GB, free: 2.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.427e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.00351/0.003544, allocations: 1.643 MB / 0.5212 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.004905, allocations: 0.5832 MB / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.005014, allocations: 3.938 kB / 0.5218 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.005249, allocations: 23.8 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.00557, allocations: 65.11 kB / 0.5219 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.005851, allocations: 79.72 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.006112, allocations: 136.3 kB / 0.5221 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.006274, allocations: 37.64 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.006548, allocations: 76.52 kB / 0.5222 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.006686, allocations: 55.81 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.006722, allocations: 10.97 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.393e-05/0.006816, allocations: 31.92 kB / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.00693, allocations: 43.83 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.006999, allocations: 27.92 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.007356, allocations: 163.3 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.00736, allocations: 0 / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007361, allocations: 0 / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.007367, allocations: 0.5 kB / 0.5225 GB, free: 15.64 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.0008387/0.008205, allocations: 390.1 kB / 0.5229 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.008256, allocations: 8.875 kB / 0.5229 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.008504, allocations: 40.78 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.008919, allocations: 195.2 kB / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.008938, allocations: 8.375 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.008957, allocations: 4.938 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.009339, allocations: 157 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.009348, allocations: 192 / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.009373, allocations: 8.859 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.009385, allocations: 8.969 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.009638, allocations: 61.16 kB / 0.5233 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.01034, allocations: 308.3 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.01051, allocations: 40.67 kB / 0.5237 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01063, allocations: 28.89 kB / 0.5237 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.01065, allocations: 7.938 kB / 0.5237 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.01098, allocations: 145.3 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.01098, allocations: 1.062 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005138/0.01149, allocations: 118.8 kB / 0.524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.01157, allocations: 81.98 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.01188, allocations: 236.1 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.01192, allocations: 26.27 kB / 0.5243 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.01219, allocations: 136 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.01221, allocations: 8.672 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.01226, allocations: 22.45 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.01246, allocations: 330.8 kB / 0.5248 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.01259, allocations: 20.84 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.01275, allocations: 78.59 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.013, allocations: 72.22 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.013, allocations: 0 / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003182/0.01332, allocations: 104.2 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01333, allocations: 4 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.01334, allocations: 8 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.01336, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01348, allocations: 14.42 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.01349, allocations: 3.938 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.01359, allocations: 15.92 kB / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.0136, allocations: 3.938 kB / 0.5251 GB, free: 12.79 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 0.0001413/0.01374, allocations: 130.5 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.01378, allocations: 15.91 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.01383, allocations: 18.02 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.01383, allocations: 4 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.01384, allocations: 0 / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.01384, allocations: 0.625 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.01402, allocations: 157.2 kB / 0.5254 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01402, allocations: 0.5312 kB / 0.5254 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.01411, allocations: 16.73 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01412, allocations: 0 / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.01412, allocations: 0.6562 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01413, allocations: 3.438 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01413, allocations: 0 / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.01448, allocations: 128.9 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.0145, allocations: 11.91 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01452, allocations: 0 / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.01461, allocations: 7.984 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.01466, allocations: 11.98 kB / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.01469, allocations: 6.781 kB / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002147/0.0149, allocations: 169.8 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0149, allocations: 0 / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002472/0.01515, allocations: 27.98 kB / 0.5257 GB, free: 12.05 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.0002719/0.01542, allocations: 126.8 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.01573, allocations: 55.88 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01573, allocations: 6.438 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.01586, allocations: 27.97 kB / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.0162, allocations: 47.97 kB / 0.526 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.01688, allocations: 285.8 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.01701, allocations: 105.6 kB / 0.5264 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.314e-05/0.01708, allocations: 16.42 kB / 0.5264 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.01714, allocations: 24.48 kB / 0.5264 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01714, allocations: 0 / 0.5264 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.006152/0.02329, allocations: 1.776 MB / 0.5281 GB, free: 9.695 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.957154716015793]