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.0009547/0.0009547, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001045/0.001045, allocations: 161 kB / 24.17 MB, free: 328 kB / 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 0.9947/0.9947, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.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 2.016/2.016, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.453e-06/1.453e-06, allocations: 0 / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.471e-05, allocations: 7.25 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.003534/0.003558, allocations: 1.744 MB / 0.7769 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.004676, allocations: 0.604 MB / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.004771, allocations: 4 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.004962, allocations: 32.48 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.005232, allocations: 67.94 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.005468, allocations: 76 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.005641, allocations: 143.5 kB / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.005759, allocations: 38.25 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.005928, allocations: 83.73 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.006017, allocations: 51.81 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.006039, allocations: 8 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.006115, allocations: 31.92 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.006183, allocations: 44.52 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.006218, allocations: 31.91 kB / 0.7781 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.006385, allocations: 125.2 kB / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006387, allocations: 0 / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.163e-06/0.006389, allocations: 0 / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.006393, allocations: 0 / 0.7782 GB, free: 2.359 MB / 0.7292 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.000382/0.006775, allocations: 361.1 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.006808, allocations: 13.34 kB / 0.7785 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.00692, allocations: 24.91 kB / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.00713, allocations: 189.3 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.007141, allocations: 8.375 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.007153, allocations: 4.375 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.00731, allocations: 141.1 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.007317, allocations: 192 / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.007325, allocations: 384 / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007333, allocations: 7.938 kB / 0.7789 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.007356, allocations: 10.75 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.007658, allocations: 217.7 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.0077, allocations: 26.5 kB / 0.7791 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.007715, allocations: 4.922 kB / 0.7791 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.007726, allocations: 4 kB / 0.7791 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.007831, allocations: 116.5 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.007832, allocations: 1.531 kB / 0.7793 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001221/0.007954, allocations: 53.61 kB / 0.7793 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.007988, allocations: 77.11 kB / 0.7794 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.008118, allocations: 209 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.008132, allocations: 27.52 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.008184, allocations: 120.5 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.008202, allocations: 3.953 kB / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.008237, allocations: 17.7 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.008332, allocations: 330.7 kB / 0.7801 GB, free: 256 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.008344, allocations: 0.9688 kB / 0.7801 GB, free: 256 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.008382, allocations: 61.31 kB / 0.7801 GB, free: 176 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.008421, allocations: 30.91 kB / 0.7801 GB, free: 136 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008423, allocations: 0 / 0.7801 GB, free: 136 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.105e-05/0.008494, allocations: 50.45 kB / 0.7802 GB, free: 80 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.008509, allocations: 8.531 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008513, allocations: 1.031 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.008527, allocations: 3.984 kB / 0.7802 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.008592, allocations: 12.86 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.008595, allocations: 0 / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.008632, allocations: 17.33 kB / 0.7802 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.008639, allocations: 4 kB / 0.7802 GB, free: 36 kB / 0.7292 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 8.311e-05/0.008723, allocations: 124.5 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.008736, allocations: 8 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.008762, allocations: 17.67 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008764, allocations: 1.125 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.008765, allocations: 3.938 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.008768, allocations: 4 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.849e-05/0.008846, allocations: 98.33 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.008847, allocations: 0 / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.008877, allocations: 12.86 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.008878, allocations: 0 / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.008883, allocations: 0.75 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.008883, allocations: 0 / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008884, allocations: 0.6875 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.504e-05/0.008959, allocations: 77.06 kB / 0.7806 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.008972, allocations: 12.84 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.008983, allocations: 0 / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.009011, allocations: 12.92 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.00904, allocations: 0 / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.009057, allocations: 11.98 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.009114, allocations: 67.12 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009114, allocations: 0 / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001252/0.009239, allocations: 24.83 kB / 0.7807 GB, free: 15.52 MB / 0.7448 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.000173/0.009412, allocations: 114 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.009482, allocations: 14.66 kB / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.009486, allocations: 4 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.009504, allocations: 12.8 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.009667, allocations: 53.48 kB / 0.7809 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.01015, allocations: 276.3 kB / 0.7811 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.764e-05/0.01019, allocations: 73.08 kB / 0.7812 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.01023, allocations: 12.48 kB / 0.7812 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.01031, allocations: 67.36 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.01031, allocations: 1.094 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.003836/0.01415, allocations: 1.822 MB / 0.7831 GB, free: 13.18 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.125488428864628]