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.0009106/0.0009106, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001063/0.001063, allocations: 165 kB / 24.17 MB, free: 328 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 1.042/1.042, allocations: 177.2 MB / 204.6 MB, free: 5.012 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6679/0.6679, allocations: 110.3 MB / 371.3 MB, free: 12.28 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.452e-06/1.452e-06, allocations: 0 / 422.4 MB, free: 9.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.622e-05, allocations: 2.312 kB / 422.4 MB, free: 9.352 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002193/0.00221, allocations: 1.736 MB / 424.1 MB, free: 7.598 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.002971, allocations: 0.6191 MB / 424.8 MB, free: 6.973 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.003036, allocations: 0 / 424.8 MB, free: 6.973 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.003197, allocations: 27.73 kB / 424.8 MB, free: 6.945 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.003396, allocations: 67.61 kB / 424.9 MB, free: 6.879 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.003531, allocations: 71.84 kB / 424.9 MB, free: 6.809 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003679, allocations: 143.5 kB / 425.1 MB, free: 6.668 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.003794, allocations: 38.25 kB / 425.1 MB, free: 6.633 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.003946, allocations: 83.73 kB / 425.2 MB, free: 6.551 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.499e-05/0.004031, allocations: 51.86 kB / 425.2 MB, free: 6.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.004053, allocations: 8 kB / 425.2 MB, free: 6.492 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.00412, allocations: 23.94 kB / 425.3 MB, free: 6.469 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.004187, allocations: 43.83 kB / 425.3 MB, free: 6.426 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.004219, allocations: 31.86 kB / 425.3 MB, free: 6.395 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.004368, allocations: 119.5 kB / 425.5 MB, free: 6.277 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00437, allocations: 7.938 kB / 425.5 MB, free: 6.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00437, allocations: 0 / 425.5 MB, free: 6.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004374, allocations: 0 / 425.5 MB, free: 6.27 MB / 394.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.0003649/0.004739, allocations: 368 kB / 425.8 MB, free: 5.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.004771, allocations: 8.031 kB / 425.8 MB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.004885, allocations: 20.92 kB / 425.9 MB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.00508, allocations: 189.3 kB / 426 MB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.005088, allocations: 12.38 kB / 426.1 MB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.005098, allocations: 4.375 kB / 426.1 MB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.005248, allocations: 129.2 kB / 426.2 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005255, allocations: 192 / 426.2 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.005264, allocations: 12.31 kB / 426.2 MB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005269, allocations: 3.938 kB / 426.2 MB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.005551, allocations: 11.98 kB / 426.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.005829, allocations: 221.7 kB / 426.4 MB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.005866, allocations: 22.5 kB / 426.4 MB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.005881, allocations: 12.92 kB / 426.5 MB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.005893, allocations: 3.984 kB / 426.5 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.7e-05/0.00599, allocations: 120.5 kB / 426.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.005991, allocations: 0 / 426.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001001/0.006091, allocations: 45.62 kB / 426.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.00613, allocations: 81.09 kB / 426.7 MB, free: 4.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.006261, allocations: 209.1 kB / 426.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.006274, allocations: 29.7 kB / 426.9 MB, free: 4.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.006317, allocations: 116.4 kB / 427.1 MB, free: 4.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.006334, allocations: 3.953 kB / 427.1 MB, free: 4.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.006362, allocations: 17.7 kB / 427.1 MB, free: 4.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.006444, allocations: 338.7 kB / 427.4 MB, free: 4.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.006455, allocations: 4 kB / 427.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.006482, allocations: 49.14 kB / 427.5 MB, free: 4.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.006519, allocations: 37.31 kB / 427.5 MB, free: 4.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006521, allocations: 0 / 427.5 MB, free: 4.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.173e-05/0.006583, allocations: 53.61 kB / 427.5 MB, free: 3.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.006594, allocations: 8.125 kB / 427.6 MB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006599, allocations: 4 kB / 427.6 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.006609, allocations: 4 kB / 427.6 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.006666, allocations: 4 kB / 427.6 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006668, allocations: 0 / 427.6 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.006702, allocations: 15.92 kB / 427.6 MB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006708, allocations: 0 / 427.6 MB, free: 3.926 MB / 394.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 6.164e-05/0.00677, allocations: 120.6 kB / 427.7 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.006781, allocations: 7.984 kB / 427.7 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.006807, allocations: 21.02 kB / 427.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.00681, allocations: 7.938 kB / 427.7 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006811, allocations: 0 / 427.7 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006813, allocations: 0 / 427.7 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.089e-05/0.006884, allocations: 101.7 kB / 427.8 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.006885, allocations: 0 / 427.8 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.006907, allocations: 7.984 kB / 427.8 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006909, allocations: 0 / 427.8 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-06/0.006913, allocations: 0 / 427.8 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006914, allocations: 4 kB / 427.8 MB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006915, allocations: 0 / 427.8 MB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.364e-05/0.006978, allocations: 81.05 kB / 427.9 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.00699, allocations: 15.91 kB / 427.9 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.007002, allocations: 0 / 427.9 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.007025, allocations: 4 kB / 427.9 MB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.007059, allocations: 7.984 kB / 428 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.007078, allocations: 4 kB / 428 MB, free: 3.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.289e-05/0.007131, allocations: 74.17 kB / 428 MB, free: 3.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007131, allocations: 0 / 428 MB, free: 3.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001182/0.007249, allocations: 19.95 kB / 428 MB, free: 3.41 MB / 394.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.0001355/0.007385, allocations: 108.6 kB / 428.2 MB, free: 3.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.427e-05/0.007449, allocations: 16.84 kB / 428.2 MB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.007451, allocations: 0 / 428.2 MB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.007471, allocations: 16.8 kB / 428.2 MB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.007623, allocations: 48.06 kB / 428.2 MB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.008082, allocations: 283.3 kB / 428.5 MB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.008117, allocations: 71.33 kB / 428.6 MB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.008155, allocations: 12.42 kB / 428.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.008228, allocations: 71.36 kB / 428.7 MB, free: 2.73 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008228, allocations: 0 / 428.7 MB, free: 2.73 MB / 394.7 MB Notification: Performance of Templates: time 0.003401/0.01163, allocations: 1.854 MB / 430.5 MB, free: 0.875 MB / 394.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.141255192924291]