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.001741/0.001741, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002274/0.002274, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 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 1.429/1.429, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.002552/0.002552, allocations: 232.8 kB / 259.8 MB, free: 12.84 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 1.058/1.058, allocations: 138.4 MB / 454.7 MB, free: 1.492 MB / 362.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.383e-06/1.383e-06, allocations: 0 / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.206e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter): time 0.003101/0.003123, allocations: 1.646 MB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.004363, allocations: 0.5766 MB / 0.5565 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.004438, allocations: 7.938 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.004631, allocations: 31.72 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.004905, allocations: 59.67 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.005136, allocations: 83.7 kB / 0.5567 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.00537, allocations: 127.6 kB / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.005529, allocations: 41.59 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.005751, allocations: 79.75 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.005884, allocations: 55.8 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.005914, allocations: 8 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.005997, allocations: 31.92 kB / 0.557 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.0061, allocations: 43.84 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.006165, allocations: 31.91 kB / 0.5571 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.006437, allocations: 155.4 kB / 0.5572 GB, free: 13.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006439, allocations: 0 / 0.5572 GB, free: 13.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.00644, allocations: 0 / 0.5572 GB, free: 13.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.006445, allocations: 4 kB / 0.5572 GB, free: 13.9 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.0007158/0.007161, allocations: 397.4 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.007201, allocations: 8.75 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.00739, allocations: 36.72 kB / 0.5576 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.007741, allocations: 193.3 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.007752, allocations: 384 / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.007773, allocations: 16.38 kB / 0.5578 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.008122, allocations: 153.6 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.00813, allocations: 192 / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.008149, allocations: 8.375 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.008157, allocations: 3.938 kB / 0.558 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.008411, allocations: 67.86 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.009034, allocations: 312.2 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.009191, allocations: 46.55 kB / 0.5584 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.009308, allocations: 24.89 kB / 0.5584 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.009325, allocations: 0 / 0.5584 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.009614, allocations: 156.5 kB / 0.5586 GB, free: 12.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.009615, allocations: 0 / 0.5586 GB, free: 12.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004831/0.0101, allocations: 117.5 kB / 0.5587 GB, free: 12.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.01017, allocations: 89.09 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.01046, allocations: 238.3 kB / 0.559 GB, free: 11.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.01049, allocations: 29.7 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01062, allocations: 128 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.01064, allocations: 3.953 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.01069, allocations: 21.7 kB / 0.5592 GB, free: 11.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.01087, allocations: 330.8 kB / 0.5595 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.011, allocations: 27.97 kB / 0.5595 GB, free: 11.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01115, allocations: 73.11 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.01138, allocations: 66.47 kB / 0.5596 GB, free: 11.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01138, allocations: 4.031 kB / 0.5596 GB, free: 11.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003314/0.01171, allocations: 105.5 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.01173, allocations: 4 kB / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.01174, allocations: 0 / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.01175, allocations: 0 / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01186, allocations: 11.98 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01187, allocations: 20.02 kB / 0.5598 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.01196, allocations: 15.88 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.01197, allocations: 7.938 kB / 0.5598 GB, free: 11.01 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 0.000131/0.0121, allocations: 129.8 kB / 0.5599 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.01214, allocations: 15.91 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.01218, allocations: 17.02 kB / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01219, allocations: 0 / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.01219, allocations: 0 / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.01219, allocations: 0 / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.01236, allocations: 153.2 kB / 0.5601 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01237, allocations: 8 kB / 0.5601 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.01246, allocations: 7.984 kB / 0.5601 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.01247, allocations: 4 kB / 0.5601 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.01247, allocations: 0 / 0.5601 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01247, allocations: 0 / 0.5601 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01248, allocations: 0 / 0.5601 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.0128, allocations: 129.1 kB / 0.5602 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.01283, allocations: 11.91 kB / 0.5603 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.01285, allocations: 8.031 kB / 0.5603 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.01294, allocations: 11.98 kB / 0.5603 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.01299, allocations: 3.984 kB / 0.5603 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.01301, allocations: 4 kB / 0.5603 GB, free: 10.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.01321, allocations: 181.8 kB / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01321, allocations: 0 / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000249/0.01346, allocations: 23.89 kB / 0.5605 GB, free: 10.25 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.0002814/0.01374, allocations: 125.2 kB / 0.5606 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.01404, allocations: 63.81 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01404, allocations: 0 / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.01416, allocations: 28.16 kB / 0.5607 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.01448, allocations: 52.66 kB / 0.5607 GB, free: 9.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.01504, allocations: 281.6 kB / 0.561 GB, free: 9.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.01515, allocations: 106.2 kB / 0.5611 GB, free: 9.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.004e-05/0.01522, allocations: 24.36 kB / 0.5611 GB, free: 9.535 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.01527, allocations: 20.48 kB / 0.5612 GB, free: 9.516 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01527, allocations: 0 / 0.5612 GB, free: 9.516 MB / 490.7 MB Notification: Performance of Templates: time 0.005765/0.02104, allocations: 1.804 MB / 0.5629 GB, free: 7.75 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4428157629445195]