Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 181.5 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5762/0.5762, allocations: 92 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 91.25 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 12 kB / 0.4983 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 72.31 MB / 0.5689 GB, free: 1.93 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.5194, allocations: 103.5 MB / 0.6699 GB, free: 1.031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5197, allocations: 83.75 kB / 0.67 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009326/0.529, allocations: 3.336 MB / 0.6732 GB, free: 13.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5291, allocations: 0 / 0.6732 GB, free: 13.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.5291, allocations: 4 kB / 0.6732 GB, free: 13.62 MB / 474.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.0006967/0.5298, allocations: 467.1 kB / 0.6737 GB, free: 13.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5299, allocations: 8.031 kB / 0.6737 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.5299, allocations: 19.77 kB / 0.6737 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.5303, allocations: 235.6 kB / 0.6739 GB, free: 12.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.5303, allocations: 4 kB / 0.6739 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.5303, allocations: 4 kB / 0.6739 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.5306, allocations: 117.6 kB / 0.6741 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5306, allocations: 0 / 0.6741 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.5306, allocations: 0 / 0.6741 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5306, allocations: 4 kB / 0.6741 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.5309, allocations: 87.83 kB / 0.6741 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.5315, allocations: 400.3 kB / 0.6745 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.5317, allocations: 50.48 kB / 0.6746 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.5317, allocations: 0 / 0.6746 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.5319, allocations: 106.3 kB / 0.6747 GB, free: 11.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5319, allocations: 0 / 0.6747 GB, free: 11.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004142/0.5324, allocations: 141.4 kB / 0.6748 GB, free: 11.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.5324, allocations: 81.11 kB / 0.6749 GB, free: 11.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.5326, allocations: 224.2 kB / 0.6751 GB, free: 11.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5327, allocations: 29.7 kB / 0.6751 GB, free: 11.47 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.5327, allocations: 128 kB / 0.6753 GB, free: 11.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.5328, allocations: 7.844 kB / 0.6753 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5328, allocations: 0 / 0.6753 GB, free: 11.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5329, allocations: 326.8 kB / 0.6756 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.533, allocations: 35.97 kB / 0.6756 GB, free: 10.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5331, allocations: 55.41 kB / 0.6757 GB, free: 10.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.5333, allocations: 36 kB / 0.6757 GB, free: 10.87 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5333, allocations: 3.953 kB / 0.6757 GB, free: 10.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002708/0.5335, allocations: 117.4 kB / 0.6758 GB, free: 10.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5336, allocations: 9.391 kB / 0.6758 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5336, allocations: 0 / 0.6758 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.763e-05/0.5336, allocations: 4 kB / 0.6758 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5337, allocations: 19.92 kB / 0.6758 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5338, allocations: 0 / 0.6758 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.5339, allocations: 23.95 kB / 0.6759 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.5339, allocations: 0 / 0.6759 GB, free: 10.69 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/0.534, allocations: 129.8 kB / 0.676 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.534, allocations: 19.77 kB / 0.676 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.534, allocations: 13.25 kB / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5341, allocations: 3.984 kB / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5341, allocations: 0 / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5341, allocations: 4 kB / 0.676 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.5342, allocations: 213.6 kB / 0.6762 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5342, allocations: 0 / 0.6762 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9e-05/0.5343, allocations: 19.94 kB / 0.6763 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5343, allocations: 3.938 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.5344, allocations: 3.984 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5344, allocations: 0 / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5344, allocations: 4 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.5347, allocations: 145.1 kB / 0.6764 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.5347, allocations: 96.94 kB / 0.6765 GB, free: 9.953 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.5348, allocations: 3.953 kB / 0.6765 GB, free: 9.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.5349, allocations: 27.92 kB / 0.6765 GB, free: 9.922 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.5349, allocations: 0 / 0.6765 GB, free: 9.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.5349, allocations: 7.984 kB / 0.6765 GB, free: 9.914 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.5351, allocations: 180.5 kB / 0.6767 GB, free: 9.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5351, allocations: 0 / 0.6767 GB, free: 9.738 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.5353, allocations: 27.84 kB / 0.6767 GB, free: 9.711 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/0.5356, allocations: 120.2 kB / 0.6768 GB, free: 9.586 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.5359, allocations: 79.88 kB / 0.6769 GB, free: 9.508 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5359, allocations: 0 / 0.6769 GB, free: 9.508 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.536, allocations: 31.97 kB / 0.677 GB, free: 9.477 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5363, allocations: 42.11 kB / 0.677 GB, free: 9.438 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.5368, allocations: 314.6 kB / 0.6773 GB, free: 9.098 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5371, allocations: 0.7238 MB / 0.678 GB, free: 8.348 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.5371, allocations: 12.55 kB / 0.678 GB, free: 8.336 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.5372, allocations: 23.36 kB / 0.678 GB, free: 8.312 MB / 474.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5372, allocations: 3.938 kB / 0.678 GB, free: 8.309 MB / 474.7 MB Notification: Performance of Templates: time 0.004052/0.5413, allocations: 1.603 MB / 0.6796 GB, free: 6.73 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)