Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006676/0.0006676, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009697/0.001637, 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.0006731/0.0006731, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009298/0.001603, 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 0.9615/0.9615, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09664/1.058, 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/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001227/0.001227, allocations: 234 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002425, allocations: 483.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6665/0.6665, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0696/0.7361, allocations: 42.41 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.517e-05, allocations: 2.312 kB / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter): time 0.003775/0.0038, allocations: 1.747 MB / 429.8 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.00501, allocations: 0.6154 MB / 430.4 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.005129, allocations: 7.938 kB / 430.4 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.005283, allocations: 31.72 kB / 430.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.005525, allocations: 63.62 kB / 430.5 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.00577, allocations: 79.77 kB / 430.6 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.006004, allocations: 139.5 kB / 430.7 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.006154, allocations: 34.25 kB / 430.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.00643, allocations: 108.4 kB / 430.9 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.006574, allocations: 47.83 kB / 430.9 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.006604, allocations: 8 kB / 430.9 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.006715, allocations: 31.91 kB / 430.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.973e-05/0.006805, allocations: 35.86 kB / 431 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.006854, allocations: 31.88 kB / 431 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.007074, allocations: 103.5 kB / 431.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.007089, allocations: 4 kB / 431.1 MB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.00709, allocations: 0 / 431.1 MB, free: 1.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.007103, allocations: 0 / 431.1 MB, free: 1.414 MB / 410.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.000615/0.007718, allocations: 395.6 kB / 431.5 MB, free: 1.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.007758, allocations: 11.97 kB / 431.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.007996, allocations: 102 kB / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.008283, allocations: 193.2 kB / 431.8 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.008293, allocations: 4.375 kB / 431.8 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.008322, allocations: 8.375 kB / 431.8 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.008546, allocations: 132.9 kB / 431.9 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.008556, allocations: 0 / 431.9 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.008572, allocations: 8 kB / 431.9 MB, free: 500 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.00858, allocations: 0 / 431.9 MB, free: 500 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.008617, allocations: 19.92 kB / 432 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.009069, allocations: 225.7 kB / 432.2 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.00912, allocations: 14.58 kB / 432.2 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.00914, allocations: 12.92 kB / 432.2 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.009156, allocations: 3.984 kB / 432.2 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.009333, allocations: 124.5 kB / 432.3 MB, free: 36 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.009334, allocations: 0 / 432.3 MB, free: 36 kB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.1986/0.2079, allocations: 48.38 kB / 432.4 MB, free: 2.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2079, allocations: 52.84 kB / 432.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.2081, allocations: 202.5 kB / 432.6 MB, free: 2.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2081, allocations: 27.58 kB / 432.7 MB, free: 2.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.2082, allocations: 110.9 kB / 432.8 MB, free: 2.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.2082, allocations: 9.281 kB / 432.8 MB, free: 2.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.2082, allocations: 19.97 kB / 432.8 MB, free: 2.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.2083, allocations: 330.2 kB / 433.1 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.2083, allocations: 1.406 kB / 433.1 MB, free: 1.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.2083, allocations: 77.89 kB / 433.2 MB, free: 1.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.2084, allocations: 26.47 kB / 433.2 MB, free: 1.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2084, allocations: 0.9062 kB / 433.2 MB, free: 1.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.801e-05/0.2085, allocations: 51.98 kB / 433.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2085, allocations: 5.75 kB / 433.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2085, allocations: 1.906 kB / 433.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2085, allocations: 4.656 kB / 433.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2086, allocations: 9.859 kB / 433.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.2086, allocations: 1.281 kB / 433.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.2087, allocations: 11.89 kB / 433.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2087, allocations: 0.9688 kB / 433.3 MB, free: 1.707 MB / 410.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 5.611e-05/0.2087, allocations: 117.8 kB / 433.4 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.2088, allocations: 11.48 kB / 433.4 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.2088, allocations: 23.14 kB / 433.5 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2088, allocations: 0 / 433.5 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2088, allocations: 3.094 kB / 433.5 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2088, allocations: 0 / 433.5 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.503e-05/0.2089, allocations: 95.17 kB / 433.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2089, allocations: 1.375 kB / 433.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.2089, allocations: 7.516 kB / 433.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.209, allocations: 13.09 kB / 433.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.209, allocations: 2.844 kB / 433.6 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.209, allocations: 5.969 kB / 433.6 MB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.209, allocations: 0.875 kB / 433.6 MB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.209, allocations: 1.375 kB / 433.6 MB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.256e-05/0.2091, allocations: 75.03 kB / 433.7 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2091, allocations: 3.859 kB / 433.7 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.2091, allocations: 6.781 kB / 433.7 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2091, allocations: 9.109 kB / 433.7 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2092, allocations: 5.828 kB / 433.7 MB, free: 1.438 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.424e-05/0.2092, allocations: 73.33 kB / 433.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2092, allocations: 2.641 kB / 433.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.2094, allocations: 24.92 kB / 433.8 MB, free: 1.422 MB / 410.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.0001894/0.2096, allocations: 97.95 kB / 433.9 MB, free: 1.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.865e-05/0.2097, allocations: 26.86 kB / 433.9 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.2097, allocations: 1.812 kB / 433.9 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.2097, allocations: 13.25 kB / 433.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.21, allocations: 193.4 kB / 434.1 MB, free: 17.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.2108, allocations: 269.6 kB / 434.4 MB, free: 17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.2109, allocations: 75.53 kB / 434.4 MB, free: 16.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.2109, allocations: 11.64 kB / 434.5 MB, free: 16.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.211, allocations: 72.67 kB / 434.5 MB, free: 16.88 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.211, allocations: 1.156 kB / 434.5 MB, free: 16.88 MB / 426.7 MB Notification: Performance of Templates: time 0.004442/0.2155, allocations: 1.902 MB / 436.4 MB, free: 16.82 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3490301137790084]