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.002298/0.002298, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001628/0.001628, allocations: 181 kB / 23.36 MB, free: 1.133 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.005545/0.005545, allocations: 245 kB / 260.5 MB, free: 12.71 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.7792/0.7792, allocations: 138.4 MB / 402.2 MB, free: 0.5742 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.693e-06/1.693e-06, allocations: 0 / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.508e-05, allocations: 6.359 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter): time 0.002803/0.002829, allocations: 1.738 MB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.003766, allocations: 0.6074 MB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.003854, allocations: 7.5 kB / 464.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.004034, allocations: 28.55 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.004264, allocations: 65.77 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.004465, allocations: 79.67 kB / 464.9 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.004692, allocations: 138 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.004822, allocations: 34.08 kB / 465 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.005015, allocations: 88.2 kB / 465.1 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.005117, allocations: 53 kB / 465.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.005142, allocations: 7.656 kB / 465.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.152e-05/0.005224, allocations: 28.88 kB / 465.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.005301, allocations: 48.33 kB / 465.2 MB, free: 15.15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.005341, allocations: 37.23 kB / 465.3 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.00557, allocations: 115.2 kB / 465.4 MB, free: 15.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005572, allocations: 0 / 465.4 MB, free: 15.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005573, allocations: 1.188 kB / 465.4 MB, free: 15.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.005579, allocations: 1.219 kB / 465.4 MB, free: 15.08 MB / 426.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.0004377/0.006016, allocations: 368.6 kB / 465.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.006051, allocations: 10.45 kB / 465.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.006182, allocations: 25.14 kB / 465.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.006417, allocations: 186.1 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.006428, allocations: 7.188 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.00644, allocations: 5.75 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.006617, allocations: 136.6 kB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.006625, allocations: 1.625 kB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.006633, allocations: 384 / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006639, allocations: 7.062 kB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.006667, allocations: 10.62 kB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.006981, allocations: 225.3 kB / 466.4 MB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.776e-05/0.007019, allocations: 22.88 kB / 466.4 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.007038, allocations: 14.36 kB / 466.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.00705, allocations: 2.562 kB / 466.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.00716, allocations: 115.3 kB / 466.5 MB, free: 14.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.007161, allocations: 0.5625 kB / 466.5 MB, free: 14.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001206/0.007282, allocations: 47.75 kB / 466.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.007328, allocations: 82.83 kB / 466.6 MB, free: 14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.00752, allocations: 213.7 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.007536, allocations: 25.7 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.007595, allocations: 115.5 kB / 467 MB, free: 13.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.007613, allocations: 5.844 kB / 467 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.007646, allocations: 23.08 kB / 467 MB, free: 13.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.007739, allocations: 330.6 kB / 467.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.007751, allocations: 4.203 kB / 467.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.007792, allocations: 51.89 kB / 467.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/0.007833, allocations: 35.56 kB / 467.4 MB, free: 13.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007835, allocations: 0 / 467.4 MB, free: 13.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.566e-05/0.007921, allocations: 52.23 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.007936, allocations: 6.328 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.007941, allocations: 2.25 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.007955, allocations: 1.406 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.008035, allocations: 9.875 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.008039, allocations: 0 / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.008097, allocations: 12.48 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.008107, allocations: 2.156 kB / 467.5 MB, free: 13.24 MB / 426.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 8.965e-05/0.008196, allocations: 119.1 kB / 467.6 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.008222, allocations: 12.73 kB / 467.6 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.008259, allocations: 16.7 kB / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.008261, allocations: 0 / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008264, allocations: 0.75 kB / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008268, allocations: 1.625 kB / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.0084, allocations: 104.2 kB / 467.8 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008402, allocations: 1.188 kB / 467.8 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.008441, allocations: 16.59 kB / 467.8 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008443, allocations: 2.859 kB / 467.8 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.008449, allocations: 4 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00845, allocations: 0.6562 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.008454, allocations: 5.234 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.776e-05/0.008531, allocations: 72.3 kB / 467.9 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.008545, allocations: 12.55 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.008559, allocations: 3.906 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.008585, allocations: 6.391 kB / 467.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.008623, allocations: 8.375 kB / 467.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.008645, allocations: 8.641 kB / 467.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.008706, allocations: 66.25 kB / 468 MB, free: 12.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008706, allocations: 0 / 468 MB, free: 12.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.008847, allocations: 23.95 kB / 468 MB, free: 12.8 MB / 426.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.0001691/0.009016, allocations: 109.3 kB / 468.1 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.015e-05/0.009087, allocations: 20.84 kB / 468.1 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.00909, allocations: 0.75 kB / 468.1 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.009109, allocations: 12.8 kB / 468.1 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.00928, allocations: 49.38 kB / 468.2 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.009801, allocations: 270.5 kB / 468.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.009858, allocations: 75.27 kB / 468.5 MB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.009914, allocations: 14.92 kB / 468.5 MB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.01002, allocations: 71.36 kB / 468.6 MB, free: 12.15 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01002, allocations: 0.625 kB / 468.6 MB, free: 12.15 MB / 426.7 MB Notification: Performance of Templates: time 0.003958/0.01398, allocations: 1.821 MB / 470.4 MB, free: 10.53 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.680426294915378]