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.001158/0.001158, allocations: 92.22 kB / 20.46 MB, free: 4.117 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.001254/0.001254, allocations: 157 kB / 23.82 MB, free: 0.7539 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 0.9636/0.9636, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.6278/0.6278, allocations: 110.3 MB / 371 MB, free: 12.54 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.402e-06/1.402e-06, allocations: 0 / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.086e-05, allocations: 2.312 kB / 475.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.001922/0.001943, allocations: 1.7 MB / 476.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006364/0.00258, allocations: 0.6026 MB / 477.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.002647, allocations: 10.75 kB / 477.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.002813, allocations: 22.16 kB / 477.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.003018, allocations: 67.36 kB / 477.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.003164, allocations: 73.84 kB / 477.6 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003305, allocations: 146.2 kB / 477.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.003424, allocations: 28.89 kB / 477.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.003564, allocations: 82.7 kB / 477.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.003641, allocations: 52.11 kB / 477.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.003664, allocations: 7.812 kB / 477.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.00372, allocations: 21.59 kB / 478 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.003786, allocations: 52.88 kB / 478 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.003821, allocations: 31.52 kB / 478 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.00397, allocations: 122.4 kB / 478.2 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003972, allocations: 2.406 kB / 478.2 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003973, allocations: 0 / 478.2 MB, free: 13.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003977, allocations: 1 kB / 478.2 MB, free: 13.35 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.0003764/0.004353, allocations: 497.2 kB / 478.7 MB, free: 12.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.004385, allocations: 12.14 kB / 478.7 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.0045, allocations: 24.78 kB / 478.7 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.004675, allocations: 198.7 kB / 478.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.004685, allocations: 384 / 478.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.004699, allocations: 9.688 kB / 478.9 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.00487, allocations: 143.8 kB / 479 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.00488, allocations: 192 / 479 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.00489, allocations: 4.312 kB / 479 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.004898, allocations: 7.5 kB / 479 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.004935, allocations: 11.72 kB / 479.1 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.005277, allocations: 358.7 kB / 479.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.005322, allocations: 23.06 kB / 479.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.005346, allocations: 10.75 kB / 479.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.005366, allocations: 3.938 kB / 479.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.005478, allocations: 132.1 kB / 479.6 MB, free: 12.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.005479, allocations: 0 / 479.6 MB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001455/0.005624, allocations: 61.53 kB / 479.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.005645, allocations: 77.64 kB / 479.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.005915, allocations: 264.5 kB / 480 MB, free: 27.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.005923, allocations: 29.7 kB / 480 MB, free: 27.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.005983, allocations: 188.2 kB / 480.2 MB, free: 27.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.005999, allocations: 3.953 kB / 480.2 MB, free: 27.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.006024, allocations: 25.69 kB / 480.2 MB, free: 27.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006129, allocations: 0.5007 MB / 480.7 MB, free: 27.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.006145, allocations: 0 / 480.7 MB, free: 27.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.006171, allocations: 69.98 kB / 480.8 MB, free: 26.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.006205, allocations: 33.88 kB / 480.8 MB, free: 26.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006207, allocations: 2.688 kB / 480.8 MB, free: 26.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.776e-05/0.006274, allocations: 63.05 kB / 480.9 MB, free: 26.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006285, allocations: 5.781 kB / 480.9 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00629, allocations: 0 / 480.9 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.006305, allocations: 3.312 kB / 480.9 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.006372, allocations: 9.859 kB / 480.9 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.006376, allocations: 3.938 kB / 480.9 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.006409, allocations: 9.469 kB / 480.9 MB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.006416, allocations: 12.12 kB / 480.9 MB, free: 26.84 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 6.18e-05/0.006478, allocations: 158.6 kB / 481.1 MB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.006493, allocations: 19.45 kB / 481.1 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.006518, allocations: 17.81 kB / 481.1 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00652, allocations: 1 kB / 481.1 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.006523, allocations: 4.75 kB / 481.1 MB, free: 26.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006526, allocations: 0 / 481.1 MB, free: 26.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.443e-05/0.0066, allocations: 165.6 kB / 481.3 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006601, allocations: 7.703 kB / 481.3 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.006626, allocations: 13.16 kB / 481.3 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006627, allocations: 0 / 481.3 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.006633, allocations: 3.406 kB / 481.3 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006633, allocations: 0 / 481.3 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.006634, allocations: 0 / 481.3 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.006702, allocations: 99.08 kB / 481.4 MB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.006712, allocations: 13.78 kB / 481.4 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.006725, allocations: 2.812 kB / 481.4 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.00675, allocations: 2.531 kB / 481.4 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.006783, allocations: 10 kB / 481.4 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.006799, allocations: 5.781 kB / 481.4 MB, free: 26.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.433e-05/0.006883, allocations: 188.2 kB / 481.6 MB, free: 26.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006883, allocations: 1.156 kB / 481.6 MB, free: 26.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.007022, allocations: 27.14 kB / 481.6 MB, free: 26.24 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.0001389/0.007161, allocations: 122.3 kB / 481.8 MB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.007246, allocations: 29.28 kB / 481.8 MB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007247, allocations: 0 / 481.8 MB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.007266, allocations: 14.66 kB / 481.8 MB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.007459, allocations: 47.05 kB / 481.9 MB, free: 26.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.007958, allocations: 264.1 kB / 482.1 MB, free: 25.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.007985, allocations: 73.03 kB / 482.2 MB, free: 25.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.008023, allocations: 16.53 kB / 482.2 MB, free: 25.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.008052, allocations: 21.41 kB / 482.2 MB, free: 25.81 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008053, allocations: 4.844 kB / 482.2 MB, free: 25.8 MB / 426.7 MB Notification: Performance of Templates: time 0.003346/0.0114, allocations: 1.839 MB / 484.1 MB, free: 25.64 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: 3.698237764183432]