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.0006529/0.0006529, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008988/0.001552, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006753/0.0006753, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001571, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/1.139, allocations: 53.65 MB / 243.3 MB, free: 15.58 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: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4543/2.348, allocations: 127.1 MB / 0.7432 GB, free: 4.613 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.623e-06/1.623e-06, allocations: 0.7656 kB / 0.7444 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.295e-05, allocations: 3.875 kB / 0.7444 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.003155/0.003178, allocations: 1.749 MB / 0.7462 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.004404, allocations: 0.6113 MB / 0.7468 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.004524, allocations: 4.594 kB / 0.7468 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.004703, allocations: 28.83 kB / 0.7468 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.004968, allocations: 76.05 kB / 0.7469 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.005205, allocations: 71.78 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.005473, allocations: 145.1 kB / 0.7471 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.005657, allocations: 38.3 kB / 0.7471 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.005957, allocations: 108.4 kB / 0.7472 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006103, allocations: 47.88 kB / 0.7472 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.006139, allocations: 8 kB / 0.7473 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.006266, allocations: 20 kB / 0.7473 GB, free: 496 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.006368, allocations: 36.55 kB / 0.7473 GB, free: 460 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.006484, allocations: 28.56 kB / 0.7473 GB, free: 432 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.00674, allocations: 115.5 kB / 0.7474 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.397e-05/0.006764, allocations: 0.5312 kB / 0.7474 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/0.006766, allocations: 4.562 kB / 0.7475 GB, free: 312 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.477e-05/0.00679, allocations: 0 / 0.7475 GB, free: 312 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.0006911/0.007482, allocations: 389.2 kB / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.007522, allocations: 16.02 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.007725, allocations: 98.03 kB / 0.7479 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.008003, allocations: 190.7 kB / 0.7481 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.008016, allocations: 4.969 kB / 0.7481 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.008033, allocations: 8.375 kB / 0.7481 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.008244, allocations: 140.3 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.008253, allocations: 0.5625 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.008267, allocations: 9.531 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.008274, allocations: 3.938 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.008317, allocations: 11.98 kB / 0.7483 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.008719, allocations: 217.7 kB / 0.7485 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.00877, allocations: 28.3 kB / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.00879, allocations: 8.922 kB / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.008804, allocations: 0 / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.008951, allocations: 116.5 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.008952, allocations: 2.438 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001391/0.009091, allocations: 49.62 kB / 0.7487 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.009126, allocations: 55.39 kB / 0.7487 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.009308, allocations: 205.1 kB / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.009325, allocations: 29.69 kB / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.009382, allocations: 112.5 kB / 0.7491 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.009402, allocations: 9.922 kB / 0.7491 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.009447, allocations: 21.69 kB / 0.7491 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.009551, allocations: 330.7 kB / 0.7494 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.009566, allocations: 4 kB / 0.7494 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.009615, allocations: 73.97 kB / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.00966, allocations: 21.3 kB / 0.7495 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009663, allocations: 1.844 kB / 0.7495 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.051e-05/0.009753, allocations: 53.61 kB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.009769, allocations: 8 kB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.009775, allocations: 0 / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.009785, allocations: 2.75 kB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.009879, allocations: 8.281 kB / 0.7496 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.009883, allocations: 3.938 kB / 0.7496 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.00994, allocations: 19.81 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.009957, allocations: 4 kB / 0.7496 GB, free: 13.87 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 7.38e-05/0.01003, allocations: 108.7 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.01005, allocations: 19.19 kB / 0.7497 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.01009, allocations: 21.02 kB / 0.7498 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01009, allocations: 4 kB / 0.7498 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01009, allocations: 0 / 0.7498 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.0101, allocations: 4 kB / 0.7498 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.01023, allocations: 97.77 kB / 0.7499 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01023, allocations: 3.938 kB / 0.7499 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.01028, allocations: 11.98 kB / 0.7499 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.0103, allocations: 12.41 kB / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.0103, allocations: 0 / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.01031, allocations: 0.7812 kB / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01031, allocations: 0 / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01031, allocations: 0.5625 kB / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.01041, allocations: 77.95 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.01043, allocations: 0 / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.01048, allocations: 15.98 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01051, allocations: 1 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.01053, allocations: 4 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.622e-05/0.01062, allocations: 78.45 kB / 0.7501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01062, allocations: 0 / 0.7501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002113/0.01083, allocations: 16 kB / 0.7501 GB, free: 13.37 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.0002334/0.01106, allocations: 116.8 kB / 0.7502 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.01117, allocations: 16.84 kB / 0.7502 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.01118, allocations: 4.5 kB / 0.7502 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.0112, allocations: 14.11 kB / 0.7502 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01142, allocations: 64.23 kB / 0.7503 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.01255, allocations: 268.8 kB / 0.7505 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.121e-05/0.0126, allocations: 75.31 kB / 0.7506 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.157e-05/0.01266, allocations: 13.31 kB / 0.7506 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.01277, allocations: 80.58 kB / 0.7507 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/0.01277, allocations: 4 kB / 0.7507 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.005341/0.01811, allocations: 1.879 MB / 0.7525 GB, free: 10.94 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.8629464302212]