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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002281/0.002281, allocations: 289.1 kB / 304.8 MB, free: 3.363 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.159/1.159, allocations: 180.9 MB / 0.5282 GB, free: 1.953 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002875/0.002875, allocations: 99.84 kB / 0.7283 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5145, allocations: 94.15 MB / 0.8203 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter): time 0.00302/0.5175, allocations: 1.669 MB / 0.8219 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.5185, allocations: 0.5492 MB / 0.8224 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.5186, allocations: 2.219 kB / 0.8224 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.5187, allocations: 35.14 kB / 0.8225 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.519, allocations: 64.3 kB / 0.8225 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.5191, allocations: 62.88 kB / 0.8226 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.5193, allocations: 130.7 kB / 0.8227 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.5195, allocations: 41.34 kB / 0.8227 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.5196, allocations: 45.78 kB / 0.8228 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.5197, allocations: 70.47 kB / 0.8229 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.5197, allocations: 8.688 kB / 0.8229 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.5198, allocations: 28.02 kB / 0.8229 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.5199, allocations: 48.02 kB / 0.8229 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.5199, allocations: 56.64 kB / 0.823 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.5202, allocations: 150.6 kB / 0.8231 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5202, allocations: 1.062 kB / 0.8231 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5202, allocations: 0 / 0.8231 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5202, allocations: 0 / 0.8231 GB, free: 2.48 MB / 0.5606 GB 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.0007893/0.521, allocations: 470.7 kB / 0.8236 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.521, allocations: 13.31 kB / 0.8236 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.5211, allocations: 17.22 kB / 0.8236 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.5215, allocations: 245 kB / 0.8238 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.5215, allocations: 6.625 kB / 0.8239 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.5215, allocations: 8 kB / 0.8239 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.5219, allocations: 112.7 kB / 0.824 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5219, allocations: 7.984 kB / 0.824 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.5219, allocations: 9.047 kB / 0.824 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5219, allocations: 2.125 kB / 0.824 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.5221, allocations: 59.31 kB / 0.824 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.5228, allocations: 379.8 kB / 0.8244 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.5229, allocations: 40.91 kB / 0.8244 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.523, allocations: 33.52 kB / 0.8245 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.523, allocations: 0.875 kB / 0.8245 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.5232, allocations: 98.48 kB / 0.8246 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5232, allocations: 0 / 0.8246 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004234/0.5237, allocations: 127.3 kB / 0.8247 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5237, allocations: 82.23 kB / 0.8248 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.524, allocations: 248 kB / 0.825 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.524, allocations: 27.08 kB / 0.825 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.5241, allocations: 141.6 kB / 0.8252 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.5241, allocations: 5.328 kB / 0.8252 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.5242, allocations: 12.97 kB / 0.8252 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5243, allocations: 330.8 kB / 0.8255 GB, free: 276 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.5244, allocations: 24.81 kB / 0.8255 GB, free: 264 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.5246, allocations: 52.09 kB / 0.8256 GB, free: 216 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.5248, allocations: 67 kB / 0.8256 GB, free: 168 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5248, allocations: 1.125 kB / 0.8256 GB, free: 168 kB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002685/0.525, allocations: 105.9 kB / 0.8257 GB, free: 96 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5251, allocations: 5.438 kB / 0.8257 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5251, allocations: 5.109 kB / 0.8258 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5251, allocations: 4.938 kB / 0.8258 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.5252, allocations: 11.42 kB / 0.8258 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5252, allocations: 1.094 kB / 0.8258 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.5253, allocations: 22.75 kB / 0.8258 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.5253, allocations: 2.688 kB / 0.8258 GB, free: 68 kB / 0.5606 GB 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.0001364/0.5254, allocations: 131.3 kB / 0.8259 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.5255, allocations: 20 kB / 0.8259 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.5255, allocations: 19.05 kB / 0.826 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5255, allocations: 5.156 kB / 0.826 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5255, allocations: 0 / 0.826 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5255, allocations: 1.156 kB / 0.826 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.5257, allocations: 215.5 kB / 0.8262 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5257, allocations: 4 kB / 0.8262 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.5258, allocations: 15.98 kB / 0.8262 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5258, allocations: 0 / 0.8262 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5258, allocations: 5.172 kB / 0.8262 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5258, allocations: 3.938 kB / 0.8262 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5258, allocations: 288 / 0.8262 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.5261, allocations: 137.5 kB / 0.8263 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.5262, allocations: 87.64 kB / 0.8264 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.5262, allocations: 1.156 kB / 0.8264 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.5263, allocations: 14.73 kB / 0.8264 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.5263, allocations: 5.141 kB / 0.8264 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.5263, allocations: 8.75 kB / 0.8264 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001905/0.5265, allocations: 188 kB / 0.8266 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5265, allocations: 0 / 0.8266 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002188/0.5268, allocations: 18.12 kB / 0.8266 GB, free: 15.3 MB / 0.5762 GB 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.0002323/0.527, allocations: 125.8 kB / 0.8268 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.5273, allocations: 55.58 kB / 0.8268 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5273, allocations: 0 / 0.8268 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.5274, allocations: 28.47 kB / 0.8268 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.5277, allocations: 42.73 kB / 0.8269 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.5282, allocations: 301.5 kB / 0.8272 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.5286, allocations: 0.7245 MB / 0.8279 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.461e-05/0.5287, allocations: 15.55 kB / 0.8279 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.5287, allocations: 20.92 kB / 0.8279 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.5287, allocations: 1.375 kB / 0.8279 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.00516/0.5339, allocations: 1.782 MB / 0.8296 GB, free: 13.27 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.268558871001005]