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.0007218/0.0007218, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002338, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000804/0.000804, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001957, allocations: 463.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9526/0.9526, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08226/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.6056/0.6056, allocations: 110.2 MB / 354.2 MB, free: 12.38 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06058/0.6662, allocations: 34.97 MB / 389.2 MB, free: 9.34 MB / 378.7 MB " [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 / 390.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.195e-05, allocations: 2.312 kB / 390.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002908/0.00293, allocations: 1.727 MB / 392.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.003917, allocations: 0.6192 MB / 392.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.004002, allocations: 7.938 kB / 392.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.00413, allocations: 23.8 kB / 392.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.00433, allocations: 67.66 kB / 392.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.004511, allocations: 75.77 kB / 393 MB, free: 5.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.004703, allocations: 139.5 kB / 393.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.004835, allocations: 38.23 kB / 393.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.005054, allocations: 112.4 kB / 393.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.005161, allocations: 51.81 kB / 393.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.005188, allocations: 8 kB / 393.3 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.005276, allocations: 20 kB / 393.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.005353, allocations: 39.86 kB / 393.4 MB, free: 5.125 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.005396, allocations: 27.92 kB / 393.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.005584, allocations: 111.4 kB / 393.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-05/0.005599, allocations: 4 kB / 393.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.0056, allocations: 0 / 393.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.855e-05/0.005618, allocations: 0 / 393.5 MB, free: 4.984 MB / 378.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.000542/0.00616, allocations: 395.6 kB / 393.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.006192, allocations: 8.031 kB / 393.9 MB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.006363, allocations: 106 kB / 394 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.006614, allocations: 185.3 kB / 394.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.006625, allocations: 8.375 kB / 394.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.00664, allocations: 8.375 kB / 394.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.006827, allocations: 136.9 kB / 394.4 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.006834, allocations: 0 / 394.4 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.006847, allocations: 8 kB / 394.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006852, allocations: 0 / 394.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.006884, allocations: 8 kB / 394.4 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.007231, allocations: 225.7 kB / 394.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/0.007278, allocations: 22.52 kB / 394.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.007296, allocations: 12.92 kB / 394.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.007308, allocations: 0 / 394.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.007435, allocations: 120.5 kB / 394.7 MB, free: 3.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.007435, allocations: 4 kB / 394.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001254/0.007561, allocations: 49.61 kB / 394.8 MB, free: 3.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.007591, allocations: 51.41 kB / 394.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.007751, allocations: 205.1 kB / 395.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.007766, allocations: 29.7 kB / 395.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.007822, allocations: 120.4 kB / 395.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.00784, allocations: 3.953 kB / 395.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.00788, allocations: 21.7 kB / 395.2 MB, free: 3.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.007977, allocations: 334.7 kB / 395.6 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.00799, allocations: 4 kB / 395.6 MB, free: 2.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.008034, allocations: 73.98 kB / 395.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.008074, allocations: 28.47 kB / 395.7 MB, free: 2.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008077, allocations: 0 / 395.7 MB, free: 2.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.491e-05/0.008151, allocations: 41.69 kB / 395.7 MB, free: 2.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.008165, allocations: 8 kB / 395.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008169, allocations: 4.094 kB / 395.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.008178, allocations: 3.938 kB / 395.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.008256, allocations: 15.92 kB / 395.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.008259, allocations: 0 / 395.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.008309, allocations: 15.86 kB / 395.7 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.008323, allocations: 4 kB / 395.7 MB, free: 2.527 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.01e-05/0.008393, allocations: 112.7 kB / 395.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.008413, allocations: 12.27 kB / 395.9 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.008443, allocations: 13.03 kB / 395.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.008446, allocations: 3.984 kB / 395.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.008447, allocations: 4 kB / 395.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008451, allocations: 7.984 kB / 395.9 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.00855, allocations: 93.78 kB / 396 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008551, allocations: 0 / 396 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.008592, allocations: 8 kB / 396 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.008607, allocations: 15.89 kB / 396 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.00861, allocations: 3.984 kB / 396 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.008615, allocations: 0 / 396 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.008619, allocations: 4 kB / 396 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00862, allocations: 0 / 396 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.65e-05/0.008707, allocations: 80.98 kB / 396.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.008724, allocations: 8 kB / 396.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.008764, allocations: 4 kB / 396.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.008793, allocations: 3.984 kB / 396.1 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.008808, allocations: 8 kB / 396.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.008885, allocations: 73.36 kB / 396.2 MB, free: 2.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008885, allocations: 0 / 396.2 MB, free: 2.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.00908, allocations: 23.95 kB / 396.2 MB, free: 2.004 MB / 378.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.0001734/0.009253, allocations: 96.34 kB / 396.3 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.009335, allocations: 20.8 kB / 396.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.009343, allocations: 3.984 kB / 396.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.009366, allocations: 12.86 kB / 396.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.009552, allocations: 59.34 kB / 396.4 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.01055, allocations: 279.3 kB / 396.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01059, allocations: 71.33 kB / 396.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.01065, allocations: 16.56 kB / 396.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.01075, allocations: 83.28 kB / 396.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01075, allocations: 0 / 396.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of Templates: time 0.00457/0.01532, allocations: 1.929 MB / 398.8 MB, free: 15.38 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0613260492682457]