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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.00119, allocations: 95.25 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 176.2 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6428/0.6428, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 9.625 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.001991/0.1367, allocations: 1.305 MB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1377, allocations: 0.4993 MB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1378, allocations: 7.875 kB / 0.5586 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.1381, allocations: 19.91 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1384, allocations: 63.34 kB / 0.5587 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1386, allocations: 59.88 kB / 0.5588 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1388, allocations: 87.75 kB / 0.5588 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.139, allocations: 33.48 kB / 0.5589 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1391, allocations: 47.77 kB / 0.5589 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1392, allocations: 51.7 kB / 0.559 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.1393, allocations: 4 kB / 0.559 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.1394, allocations: 8 kB / 0.559 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.1394, allocations: 35.89 kB / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.1395, allocations: 45.58 kB / 0.5591 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1397, allocations: 104 kB / 0.5592 GB, free: 9.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1397, allocations: 0 / 0.5592 GB, free: 9.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1397, allocations: 0 / 0.5592 GB, free: 9.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1397, allocations: 0 / 0.5592 GB, free: 9.23 MB / 430.1 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.0007115/0.1404, allocations: 456.2 kB / 0.5596 GB, free: 8.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.1405, allocations: 12.02 kB / 0.5596 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.1406, allocations: 19.72 kB / 0.5596 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1409, allocations: 231.7 kB / 0.5598 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1409, allocations: 0 / 0.5598 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1409, allocations: 4 kB / 0.5598 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1412, allocations: 117.6 kB / 0.56 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1412, allocations: 3.953 kB / 0.56 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1412, allocations: 7.984 kB / 0.56 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1412, allocations: 0 / 0.56 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.1415, allocations: 83.88 kB / 0.56 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.1421, allocations: 388.5 kB / 0.5604 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1422, allocations: 54.42 kB / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1422, allocations: 0 / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.1425, allocations: 101.2 kB / 0.5606 GB, free: 7.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.1425, allocations: 0 / 0.5606 GB, free: 7.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000471/0.143, allocations: 149.4 kB / 0.5607 GB, free: 7.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.143, allocations: 77.11 kB / 0.5608 GB, free: 7.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1433, allocations: 257 kB / 0.561 GB, free: 7.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1433, allocations: 25.7 kB / 0.561 GB, free: 7.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.1434, allocations: 132 kB / 0.5612 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1434, allocations: 7.891 kB / 0.5612 GB, free: 6.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1434, allocations: 0 / 0.5612 GB, free: 6.934 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1436, allocations: 334.8 kB / 0.5615 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1437, allocations: 31.97 kB / 0.5615 GB, free: 6.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1438, allocations: 55.41 kB / 0.5616 GB, free: 6.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.144, allocations: 32.02 kB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.144, allocations: 4 kB / 0.5616 GB, free: 6.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002926/0.1443, allocations: 121.4 kB / 0.5617 GB, free: 6.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.1443, allocations: 4 kB / 0.5617 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1443, allocations: 4 kB / 0.5617 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1444, allocations: 0 / 0.5617 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1445, allocations: 15.98 kB / 0.5618 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1445, allocations: 3.938 kB / 0.5618 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.1446, allocations: 20.05 kB / 0.5618 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1446, allocations: 0 / 0.5618 GB, free: 6.293 MB / 430.1 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 0.0001559/0.1448, allocations: 133.8 kB / 0.5619 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.1448, allocations: 19.72 kB / 0.5619 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.1448, allocations: 21.23 kB / 0.5619 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1448, allocations: 0 / 0.5619 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1449, allocations: 4 kB / 0.562 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1449, allocations: 288 / 0.562 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.145, allocations: 221.5 kB / 0.5622 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1451, allocations: 4 kB / 0.5622 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.1451, allocations: 15.98 kB / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1451, allocations: 0 / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1452, allocations: 3.984 kB / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1452, allocations: 3.938 kB / 0.5622 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1452, allocations: 0 / 0.5622 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1455, allocations: 144.8 kB / 0.5623 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.1455, allocations: 96.91 kB / 0.5624 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1456, allocations: 0 / 0.5624 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.1457, allocations: 15.98 kB / 0.5624 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.1457, allocations: 7.984 kB / 0.5624 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.1457, allocations: 4 kB / 0.5624 GB, free: 5.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.1459, allocations: 192.5 kB / 0.5626 GB, free: 5.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1459, allocations: 0 / 0.5626 GB, free: 5.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1461, allocations: 19.94 kB / 0.5626 GB, free: 5.305 MB / 430.1 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.000227/0.1464, allocations: 117.3 kB / 0.5628 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1467, allocations: 71.88 kB / 0.5628 GB, free: 5.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1467, allocations: 0 / 0.5628 GB, free: 5.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1468, allocations: 35.97 kB / 0.5629 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1471, allocations: 38.73 kB / 0.5629 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.1475, allocations: 318.1 kB / 0.5632 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.1478, allocations: 0.7277 MB / 0.5639 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.1479, allocations: 16.55 kB / 0.5639 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.1479, allocations: 15.42 kB / 0.5639 GB, free: 3.918 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1479, allocations: 4 kB / 0.5639 GB, free: 3.914 MB / 430.1 MB Notification: Performance of Templates: time 0.004237/0.1522, allocations: 1.546 MB / 0.5655 GB, free: 2.398 MB / 430.1 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)