Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001099/0.001099, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002813, allocations: 449.8 kB / 10.44 MB, free: 252 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.0011/0.0011, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002671, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09527/1.12, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.893/1.893, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4544/2.347, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.772e-05, allocations: 4.828 kB / 0.7448 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002004/0.002022, allocations: 1.75 MB / 0.7465 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007303/0.002753, allocations: 0.6099 MB / 0.7471 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.002825, allocations: 4 kB / 0.7471 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.002937, allocations: 32.92 kB / 0.7471 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.003107, allocations: 65.05 kB / 0.7472 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.003268, allocations: 84.7 kB / 0.7473 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.00343, allocations: 141.4 kB / 0.7474 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.003552, allocations: 38.3 kB / 0.7474 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.003733, allocations: 96.48 kB / 0.7475 GB, free: 484 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.003822, allocations: 48.42 kB / 0.7476 GB, free: 436 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.003844, allocations: 8 kB / 0.7476 GB, free: 428 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.00392, allocations: 33.41 kB / 0.7476 GB, free: 396 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.003982, allocations: 35.86 kB / 0.7477 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.004014, allocations: 23.94 kB / 0.7477 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.004177, allocations: 120.4 kB / 0.7478 GB, free: 216 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.004189, allocations: 0 / 0.7478 GB, free: 216 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00419, allocations: 4 kB / 0.7478 GB, free: 212 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.004201, allocations: 0.625 kB / 0.7478 GB, free: 212 kB / 0.7136 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.0004845/0.004686, allocations: 384.2 kB / 0.7482 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001354/0.004821, allocations: 8.688 kB / 0.7482 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.005013, allocations: 106 kB / 0.7483 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.005246, allocations: 195.2 kB / 0.7485 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.005257, allocations: 4.375 kB / 0.7485 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.005273, allocations: 6.562 kB / 0.7485 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.005439, allocations: 144.9 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.005446, allocations: 0 / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005454, allocations: 0 / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.005458, allocations: 0 / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.005484, allocations: 11.98 kB / 0.7486 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.005778, allocations: 220.2 kB / 0.7488 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.005822, allocations: 22.58 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.00584, allocations: 12.84 kB / 0.7489 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.005853, allocations: 0 / 0.7489 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.005969, allocations: 120.5 kB / 0.749 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.00597, allocations: 1.594 kB / 0.749 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001144/0.006084, allocations: 45.81 kB / 0.749 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.006111, allocations: 51.41 kB / 0.7491 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.006233, allocations: 213 kB / 0.7493 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.006246, allocations: 31.92 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.006291, allocations: 112.5 kB / 0.7494 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.00631, allocations: 7.953 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.006339, allocations: 21.7 kB / 0.7494 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.006427, allocations: 330.7 kB / 0.7498 GB, free: 14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.006439, allocations: 0 / 0.7498 GB, free: 14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.006475, allocations: 76.72 kB / 0.7498 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.006508, allocations: 28.52 kB / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00651, allocations: 0 / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.079e-05/0.006571, allocations: 49.62 kB / 0.7499 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.006584, allocations: 4.625 kB / 0.7499 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.00659, allocations: 6.828 kB / 0.7499 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.0066, allocations: 0 / 0.7499 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.00667, allocations: 8 kB / 0.7499 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.006674, allocations: 3.938 kB / 0.7499 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.006713, allocations: 23.75 kB / 0.7499 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.006728, allocations: 4 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB 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 5.867e-05/0.006787, allocations: 117.3 kB / 0.7501 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.006799, allocations: 7.984 kB / 0.7501 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.006824, allocations: 17.7 kB / 0.7501 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006826, allocations: 4 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.006827, allocations: 0.5312 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.00683, allocations: 0.625 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.011e-05/0.00692, allocations: 97.78 kB / 0.7502 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006921, allocations: 0.7812 kB / 0.7502 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.006958, allocations: 7.984 kB / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.006971, allocations: 16.53 kB / 0.7502 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006973, allocations: 0.9062 kB / 0.7502 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006979, allocations: 4 kB / 0.7502 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006981, allocations: 4 kB / 0.7502 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006982, allocations: 1.344 kB / 0.7502 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.007064, allocations: 76.98 kB / 0.7503 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.007076, allocations: 0 / 0.7503 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.007101, allocations: 4.75 kB / 0.7503 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.00713, allocations: 7.984 kB / 0.7503 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.00714, allocations: 4.531 kB / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.007194, allocations: 75.58 kB / 0.7504 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007194, allocations: 0 / 0.7504 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001152/0.007309, allocations: 20 kB / 0.7504 GB, free: 13.28 MB / 0.7292 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.0002023/0.007512, allocations: 113.3 kB / 0.7505 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.411e-05/0.007596, allocations: 30.47 kB / 0.7505 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.007602, allocations: 0 / 0.7505 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.007625, allocations: 16.98 kB / 0.7506 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.007827, allocations: 192.2 kB / 0.7507 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.008551, allocations: 289.2 kB / 0.751 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.008585, allocations: 71.33 kB / 0.7511 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.008623, allocations: 14.22 kB / 0.7511 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.008698, allocations: 71.36 kB / 0.7512 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.008699, allocations: 0 / 0.7512 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.003497/0.0122, allocations: 1.884 MB / 0.753 GB, free: 10.68 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.777728392742574]