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.001035/0.001035, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001619/0.001619, allocations: 169 kB / 24.06 MB, free: 456 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.9999/0.9999, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002041/0.002041, allocations: 229.9 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7843/0.7843, allocations: 138.4 MB / 456.3 MB, free: 29.93 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.773e-06/1.773e-06, allocations: 0 / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.738e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter): time 0.002866/0.002884, allocations: 1.689 MB / 0.558 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.003745, allocations: 0.5998 MB / 0.5586 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.003815, allocations: 7.938 kB / 0.5586 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.003962, allocations: 27.73 kB / 0.5586 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.004146, allocations: 67.61 kB / 0.5587 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.004296, allocations: 79.78 kB / 0.5587 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.004438, allocations: 131.5 kB / 0.5589 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.004557, allocations: 33.66 kB / 0.5589 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.004708, allocations: 83.73 kB / 0.559 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.004787, allocations: 55.81 kB / 0.559 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.004805, allocations: 4 kB / 0.559 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.296e-05/0.004858, allocations: 31.92 kB / 0.5591 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.004923, allocations: 43.83 kB / 0.5591 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.004955, allocations: 31.86 kB / 0.5591 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.005099, allocations: 127.5 kB / 0.5593 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005101, allocations: 4 kB / 0.5593 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005101, allocations: 0 / 0.5593 GB, free: 12.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005105, allocations: 0 / 0.5593 GB, free: 12.89 MB / 490.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.0004274/0.005533, allocations: 491.6 kB / 0.5597 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.005563, allocations: 9.938 kB / 0.5597 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.005675, allocations: 28.83 kB / 0.5598 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.005865, allocations: 203.9 kB / 0.56 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.005884, allocations: 12.38 kB / 0.56 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.005895, allocations: 4.375 kB / 0.56 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.006036, allocations: 134.3 kB / 0.5601 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.006043, allocations: 192 / 0.5601 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.006051, allocations: 384 / 0.5601 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.006059, allocations: 7.938 kB / 0.5601 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.509e-05/0.006084, allocations: 11.92 kB / 0.5601 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.006408, allocations: 312.2 kB / 0.5604 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.006453, allocations: 38.98 kB / 0.5605 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.006471, allocations: 11.69 kB / 0.5605 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.006482, allocations: 0 / 0.5605 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.006591, allocations: 127.9 kB / 0.5606 GB, free: 11.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.006592, allocations: 0 / 0.5606 GB, free: 11.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001285/0.006721, allocations: 61.53 kB / 0.5606 GB, free: 11.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.006761, allocations: 77.11 kB / 0.5607 GB, free: 11.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.006903, allocations: 264.8 kB / 0.561 GB, free: 10.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.006916, allocations: 25.7 kB / 0.561 GB, free: 10.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.006997, allocations: 186.7 kB / 0.5612 GB, free: 10.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.007013, allocations: 11.95 kB / 0.5612 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.007043, allocations: 23.36 kB / 0.5612 GB, free: 10.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002879/0.007331, allocations: 0.5 MB / 0.5617 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.007343, allocations: 0 / 0.5617 GB, free: 10.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.007382, allocations: 68.61 kB / 0.5618 GB, free: 10.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.007419, allocations: 42.94 kB / 0.5618 GB, free: 10.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007421, allocations: 0 / 0.5618 GB, free: 10.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.654e-05/0.007497, allocations: 65.56 kB / 0.5619 GB, free: 9.945 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.007507, allocations: 4 kB / 0.5619 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.00751, allocations: 0 / 0.5619 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.007518, allocations: 0 / 0.5619 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.007571, allocations: 15.98 kB / 0.5619 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.007574, allocations: 0 / 0.5619 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.007609, allocations: 8 kB / 0.5619 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.007614, allocations: 3.938 kB / 0.5619 GB, free: 9.914 MB / 490.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.272e-05/0.007687, allocations: 160.5 kB / 0.562 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.007704, allocations: 19.95 kB / 0.5621 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.007731, allocations: 21.02 kB / 0.5621 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007732, allocations: 0 / 0.5621 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007734, allocations: 0 / 0.5621 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.007737, allocations: 0 / 0.5621 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.085e-05/0.007828, allocations: 133.1 kB / 0.5622 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007829, allocations: 0 / 0.5622 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.007857, allocations: 11.98 kB / 0.5622 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.007857, allocations: 0 / 0.5622 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.007862, allocations: 0 / 0.5622 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.007862, allocations: 0 / 0.5622 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007863, allocations: 0 / 0.5622 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.512e-05/0.007948, allocations: 104.2 kB / 0.5623 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.00796, allocations: 11.91 kB / 0.5623 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.007974, allocations: 11.98 kB / 0.5623 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.008, allocations: 4 kB / 0.5624 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.008031, allocations: 7.984 kB / 0.5624 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.008044, allocations: 4 kB / 0.5624 GB, free: 9.375 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.947e-05/0.008124, allocations: 181.7 kB / 0.5625 GB, free: 9.199 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008124, allocations: 0 / 0.5625 GB, free: 9.199 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.008269, allocations: 23.89 kB / 0.5626 GB, free: 9.176 MB / 490.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.0001502/0.008419, allocations: 120.9 kB / 0.5627 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.008497, allocations: 27.61 kB / 0.5627 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.008498, allocations: 0 / 0.5627 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.008519, allocations: 11.69 kB / 0.5627 GB, free: 9.008 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.008713, allocations: 55.77 kB / 0.5628 GB, free: 8.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.009149, allocations: 275.2 kB / 0.563 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.009188, allocations: 75.27 kB / 0.5631 GB, free: 8.562 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.009226, allocations: 16.42 kB / 0.5631 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.009308, allocations: 98.17 kB / 0.5632 GB, free: 8.449 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.009309, allocations: 0 / 0.5632 GB, free: 8.449 MB / 490.7 MB Notification: Performance of Templates: time 0.003486/0.0128, allocations: 1.957 MB / 0.5651 GB, free: 6.547 MB / 490.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.811055884696543]