Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.002476/0.002476, allocations: 87.67 kB / 20.23 MB, free: 4.191 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.00294/0.00294, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.615/1.615, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 1.033/1.033, allocations: 110.3 MB / 370.6 MB, free: 12.45 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 474.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.332e-05, allocations: 2.312 kB / 474.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002328/0.002351, allocations: 1.661 MB / 476.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.003178, allocations: 0.5924 MB / 476.7 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.003247, allocations: 7.438 kB / 476.7 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.003417, allocations: 33.16 kB / 476.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.003633, allocations: 62.61 kB / 476.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.003804, allocations: 80.25 kB / 476.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003952, allocations: 135.7 kB / 477 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.004068, allocations: 26.14 kB / 477 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.004231, allocations: 83.89 kB / 477.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/0.004326, allocations: 56.36 kB / 477.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.004355, allocations: 10.5 kB / 477.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.004418, allocations: 27.25 kB / 477.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.004501, allocations: 46.5 kB / 477.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.004545, allocations: 37 kB / 477.3 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.004725, allocations: 153.4 kB / 477.4 MB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004728, allocations: 4 kB / 477.4 MB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004729, allocations: 4.156 kB / 477.4 MB, free: 13.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.004733, allocations: 0 / 477.4 MB, free: 13.42 MB / 410.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.0004824/0.005215, allocations: 494.2 kB / 477.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.005255, allocations: 11.62 kB / 477.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.005412, allocations: 39.8 kB / 478 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.005629, allocations: 191.4 kB / 478.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.005641, allocations: 4.156 kB / 478.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.005655, allocations: 5.625 kB / 478.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.005856, allocations: 127.2 kB / 478.3 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.005866, allocations: 1.219 kB / 478.3 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.005879, allocations: 4.375 kB / 478.3 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.005884, allocations: 7.906 kB / 478.3 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.00602, allocations: 36.34 kB / 478.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.006449, allocations: 383.5 kB / 478.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.006552, allocations: 42.88 kB / 478.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.006616, allocations: 21.06 kB / 478.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.006634, allocations: 0 / 478.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.006794, allocations: 147.5 kB / 478.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.006795, allocations: 0 / 478.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002964/0.007091, allocations: 95.67 kB / 479 MB, free: 12.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.007114, allocations: 77.11 kB / 479.1 MB, free: 12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.007458, allocations: 291.6 kB / 479.4 MB, free: 27.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.007468, allocations: 25.7 kB / 479.4 MB, free: 27.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.007562, allocations: 196 kB / 479.6 MB, free: 27.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.007577, allocations: 6.078 kB / 479.6 MB, free: 27.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.007613, allocations: 28.09 kB / 479.6 MB, free: 27.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.007849, allocations: 0.5049 MB / 480.1 MB, free: 27.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.007918, allocations: 12.17 kB / 480.1 MB, free: 27.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.007992, allocations: 77.97 kB / 480.2 MB, free: 26.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.008124, allocations: 63.39 kB / 480.3 MB, free: 26.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008126, allocations: 0 / 480.3 MB, free: 26.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001748/0.008301, allocations: 90.59 kB / 480.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.008313, allocations: 8.031 kB / 480.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.008317, allocations: 0.6562 kB / 480.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.008331, allocations: 0 / 480.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.008413, allocations: 12.27 kB / 480.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.008418, allocations: 0 / 480.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.008483, allocations: 6.938 kB / 480.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.008491, allocations: 3.938 kB / 480.4 MB, free: 26.86 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 0.0001098/0.008601, allocations: 177 kB / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.008628, allocations: 20.48 kB / 480.6 MB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.008659, allocations: 18 kB / 480.6 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00866, allocations: 0.8125 kB / 480.6 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.008663, allocations: 6.406 kB / 480.6 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008666, allocations: 3.984 kB / 480.6 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.008771, allocations: 182.6 kB / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008772, allocations: 0 / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.00883, allocations: 8.781 kB / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008831, allocations: 0 / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.008839, allocations: 0.5 kB / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.00884, allocations: 2.625 kB / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008841, allocations: 3.25 kB / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.009033, allocations: 117.2 kB / 480.9 MB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.009052, allocations: 13.62 kB / 480.9 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.009073, allocations: 4 kB / 480.9 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.009134, allocations: 8.891 kB / 480.9 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.009177, allocations: 7.219 kB / 481 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.009197, allocations: 4.938 kB / 481 MB, free: 26.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.009352, allocations: 208.4 kB / 481.2 MB, free: 26.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009352, allocations: 0 / 481.2 MB, free: 26.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.009557, allocations: 21.86 kB / 481.2 MB, free: 26.23 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.0002074/0.009764, allocations: 118.8 kB / 481.3 MB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.009969, allocations: 56.53 kB / 481.4 MB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009971, allocations: 3.938 kB / 481.4 MB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.01004, allocations: 31.73 kB / 481.4 MB, free: 26.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01032, allocations: 42.91 kB / 481.4 MB, free: 26.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.01073, allocations: 271 kB / 481.7 MB, free: 25.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.446e-05/0.01079, allocations: 106.7 kB / 481.8 MB, free: 25.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.01085, allocations: 21.53 kB / 481.8 MB, free: 25.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.01089, allocations: 15.78 kB / 481.8 MB, free: 25.79 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01089, allocations: 3.375 kB / 481.8 MB, free: 25.79 MB / 426.7 MB Notification: Performance of Templates: time 0.004998/0.01589, allocations: 1.839 MB / 483.7 MB, free: 25.62 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8354008418973535]