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.0007818/0.0007818, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.001971, allocations: 440 kB / 10.41 MB, free: 284 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.00105/0.00105, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002493, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09134/1.105, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7678/0.7678, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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.2924/1.06, allocations: 49.05 MB / 447.8 MB, free: 6.578 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.623e-06/1.623e-06, allocations: 0 / 449.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.48e-05, allocations: 6.312 kB / 449.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002937/0.002962, allocations: 1.744 MB / 450.9 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004027, allocations: 0.611 MB / 451.5 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.004127, allocations: 8.812 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.004255, allocations: 28.7 kB / 451.5 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.004456, allocations: 68.22 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.004648, allocations: 76.59 kB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.004839, allocations: 136.2 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.004964, allocations: 42.19 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.00517, allocations: 93.61 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.00528, allocations: 43.89 kB / 452 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.005305, allocations: 8.906 kB / 452 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.005398, allocations: 35.84 kB / 452 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.005474, allocations: 40.48 kB / 452.1 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.005515, allocations: 27.88 kB / 452.1 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.005695, allocations: 109.2 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.005709, allocations: 0 / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005709, allocations: 3.938 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.005725, allocations: 0 / 452.2 MB, free: 2.293 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.0005304/0.006255, allocations: 388.1 kB / 452.6 MB, free: 1.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.006287, allocations: 12.03 kB / 452.6 MB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.006465, allocations: 102 kB / 452.7 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.006713, allocations: 189.8 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.006725, allocations: 9.469 kB / 452.9 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.006743, allocations: 8.375 kB / 452.9 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.006916, allocations: 132.9 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.006924, allocations: 0.625 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.006935, allocations: 11.31 kB / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.006941, allocations: 0 / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.006969, allocations: 11.98 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.007334, allocations: 221.7 kB / 453.3 MB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.007381, allocations: 14.58 kB / 453.3 MB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.0074, allocations: 8.922 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.007414, allocations: 3.984 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.007546, allocations: 124.4 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.007547, allocations: 4.844 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001185/0.007666, allocations: 46.62 kB / 453.5 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.00769, allocations: 53.28 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.007839, allocations: 213 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.007855, allocations: 25.7 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.007905, allocations: 120.5 kB / 453.9 MB, free: 456 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.007924, allocations: 7.891 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.007959, allocations: 18.39 kB / 453.9 MB, free: 424 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.008047, allocations: 330.7 kB / 454.2 MB, free: 84 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.008058, allocations: 4.625 kB / 454.2 MB, free: 80 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.008128, allocations: 73.98 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.008167, allocations: 29.7 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008169, allocations: 0.625 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.614e-05/0.008245, allocations: 46.56 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.008259, allocations: 8 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.008263, allocations: 1.719 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.008276, allocations: 3.984 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.008351, allocations: 8 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.008355, allocations: 3.984 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.0084, allocations: 12.83 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.008414, allocations: 4 kB / 454.4 MB, free: 15.86 MB / 442.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 7.434e-05/0.008488, allocations: 118.9 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.008505, allocations: 11.98 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.008535, allocations: 17.02 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008536, allocations: 1.312 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.008538, allocations: 0 / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.008543, allocations: 4 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.605e-05/0.008639, allocations: 98.44 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00864, allocations: 0 / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.008678, allocations: 9.219 kB / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.008693, allocations: 15.89 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008695, allocations: 0 / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.0087, allocations: 1.062 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008701, allocations: 0 / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008702, allocations: 0 / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.008787, allocations: 79.14 kB / 454.7 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.008801, allocations: 7.875 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.008834, allocations: 8 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.008862, allocations: 4.703 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.008874, allocations: 4 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.00894, allocations: 71.73 kB / 454.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00894, allocations: 0 / 454.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.009122, allocations: 27.89 kB / 454.9 MB, free: 15.35 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.0002207/0.009342, allocations: 98.95 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.009438, allocations: 22.06 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.009448, allocations: 0 / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.009476, allocations: 13.61 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.009732, allocations: 197.5 kB / 455.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.01077, allocations: 283.9 kB / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.258e-05/0.01082, allocations: 75.27 kB / 455.5 MB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.01088, allocations: 9.375 kB / 455.6 MB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.01099, allocations: 79.34 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01099, allocations: 1.125 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of Templates: time 0.0047/0.01569, allocations: 1.878 MB / 457.5 MB, free: 12.81 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.6414792453870177]