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.001688/0.001688, allocations: 107 kB / 16.4 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 195.1 kB / 17.34 MB, free: 5.695 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 61.05 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1413, allocations: 76.18 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002695/0.144, allocations: 1.628 MB / 0.6336 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008778/0.1449, allocations: 0.5455 MB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.145, allocations: 0 / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1452, allocations: 31.77 kB / 0.6342 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1455, allocations: 67.67 kB / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.1456, allocations: 63.86 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1458, allocations: 123.6 kB / 0.6345 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.146, allocations: 57.39 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1461, allocations: 59.7 kB / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1462, allocations: 59.7 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1463, allocations: 11.98 kB / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.1463, allocations: 24 kB / 0.6347 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.1464, allocations: 43.84 kB / 0.6347 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.1465, allocations: 63.53 kB / 0.6348 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1467, allocations: 139.4 kB / 0.6349 GB, free: 1.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1467, allocations: 0 / 0.6349 GB, free: 1.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1467, allocations: 4 kB / 0.6349 GB, free: 1.504 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1467, allocations: 4 kB / 0.6349 GB, free: 1.5 MB / 478.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.0006104/0.1473, allocations: 470.5 kB / 0.6353 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1474, allocations: 12.03 kB / 0.6354 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1474, allocations: 20.73 kB / 0.6354 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1477, allocations: 228.9 kB / 0.6356 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1477, allocations: 16.38 kB / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.1478, allocations: 4.375 kB / 0.6356 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.148, allocations: 109.9 kB / 0.6357 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1481, allocations: 0 / 0.6357 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1481, allocations: 7.938 kB / 0.6357 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1481, allocations: 0 / 0.6357 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.1483, allocations: 63.94 kB / 0.6358 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.1489, allocations: 388.4 kB / 0.6362 GB, free: 64 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.149, allocations: 42.48 kB / 0.6362 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1492, allocations: 24.95 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.1492, allocations: 4 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1494, allocations: 101 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1494, allocations: 0 / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004167/0.1498, allocations: 129.3 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1499, allocations: 77.11 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1502, allocations: 257 kB / 0.6368 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1502, allocations: 25.7 kB / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.1503, allocations: 128 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1503, allocations: 11.84 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1503, allocations: 21.7 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1505, allocations: 326.8 kB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1506, allocations: 23.97 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1507, allocations: 47.41 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1509, allocations: 70.5 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1509, allocations: 0 / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002647/0.1512, allocations: 101.4 kB / 0.6375 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1512, allocations: 8 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1512, allocations: 0 / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1512, allocations: 8.031 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1514, allocations: 11.98 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1514, allocations: 4 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.1515, allocations: 15.83 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1515, allocations: 4.281 kB / 0.6375 GB, free: 14.53 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.1516, allocations: 129.8 kB / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1516, allocations: 19.8 kB / 0.6377 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.1517, allocations: 21.23 kB / 0.6377 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1517, allocations: 7.938 kB / 0.6377 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1517, allocations: 0 / 0.6377 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1517, allocations: 0 / 0.6377 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1519, allocations: 221.6 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1519, allocations: 0 / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.152, allocations: 11.98 kB / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.152, allocations: 0 / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.152, allocations: 3.938 kB / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.152, allocations: 3.938 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.152, allocations: 0 / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1523, allocations: 124.8 kB / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.1524, allocations: 88.92 kB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1524, allocations: 0 / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.1525, allocations: 15.92 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.1526, allocations: 7.984 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.1526, allocations: 8 kB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1528, allocations: 188.5 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1528, allocations: 0 / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1531, allocations: 27.91 kB / 0.6384 GB, free: 13.57 MB / 494.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 (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.0002872/0.1534, allocations: 127.2 kB / 0.6385 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.1537, allocations: 59.88 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1537, allocations: 0 / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1538, allocations: 23.98 kB / 0.6386 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1541, allocations: 50.36 kB / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.1547, allocations: 276.5 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1552, allocations: 0.7158 MB / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.1552, allocations: 24.64 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1553, allocations: 15.44 kB / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1553, allocations: 0 / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of Templates: time 0.00476/0.1601, allocations: 1.756 MB / 0.6413 GB, free: 10.51 MB / 494.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)