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.0008685/0.0008685, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.0009844/0.0009844, allocations: 177 kB / 24.09 MB, free: 420 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 0.9862/0.9862, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.5758/0.5758, allocations: 110.3 MB / 371.3 MB, free: 12.36 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.143e-06/1.143e-06, allocations: 1.094 kB / 475.6 MB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.578e-06/1.072e-05, allocations: 3.156 kB / 475.6 MB, free: 15.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.001633/0.001643, allocations: 1.696 MB / 477.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006717/0.002315, allocations: 0.5986 MB / 477.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.002375, allocations: 6.656 kB / 477.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.002488, allocations: 22.55 kB / 477.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.002635, allocations: 66.36 kB / 478 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.002748, allocations: 77.19 kB / 478.1 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.002864, allocations: 143.8 kB / 478.2 MB, free: 13.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.002954, allocations: 32.45 kB / 478.2 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.003069, allocations: 86.61 kB / 478.3 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.003125, allocations: 50.02 kB / 478.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003142, allocations: 11.39 kB / 478.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.331e-05/0.003185, allocations: 21.56 kB / 478.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.003232, allocations: 50.62 kB / 478.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.003257, allocations: 25.89 kB / 478.5 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003366, allocations: 120.4 kB / 478.6 MB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.003367, allocations: 2.75 kB / 478.6 MB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003368, allocations: 0.8125 kB / 478.6 MB, free: 13.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003371, allocations: 0 / 478.6 MB, free: 13.25 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.0002975/0.003669, allocations: 0.4943 MB / 479.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.003697, allocations: 8.406 kB / 479.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.003797, allocations: 28.48 kB / 479.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.003932, allocations: 193 kB / 479.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.003941, allocations: 5 kB / 479.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.003949, allocations: 8 kB / 479.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004054, allocations: 129.4 kB / 479.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.004059, allocations: 192 / 479.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.004066, allocations: 8.219 kB / 479.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004072, allocations: 3.938 kB / 479.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.004092, allocations: 9.125 kB / 479.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.004328, allocations: 330.5 kB / 479.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.656e-05/0.004354, allocations: 26.19 kB / 479.8 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.004368, allocations: 11.39 kB / 479.8 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.004382, allocations: 2.969 kB / 479.8 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.857e-05/0.004461, allocations: 137.5 kB / 480 MB, free: 12.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.004462, allocations: 1.375 kB / 480 MB, free: 12.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.729e-05/0.004559, allocations: 52.38 kB / 480 MB, free: 11.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.516e-05/0.004575, allocations: 77.11 kB / 480.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.004668, allocations: 258.9 kB / 480.4 MB, free: 11.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.004675, allocations: 29.7 kB / 480.4 MB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.004721, allocations: 186 kB / 480.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.004733, allocations: 7.391 kB / 480.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.004755, allocations: 21.64 kB / 480.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.004993, allocations: 0.5067 MB / 481.1 MB, free: 26.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.005005, allocations: 0 / 481.1 MB, free: 26.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.005032, allocations: 77.41 kB / 481.2 MB, free: 26.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.00506, allocations: 29 kB / 481.2 MB, free: 26.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.005061, allocations: 3.438 kB / 481.2 MB, free: 26.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.808e-05/0.005119, allocations: 64.36 kB / 481.3 MB, free: 26.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.005128, allocations: 5.625 kB / 481.3 MB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005132, allocations: 0 / 481.3 MB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.005143, allocations: 0 / 481.3 MB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.005191, allocations: 13.33 kB / 481.3 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.005194, allocations: 2.781 kB / 481.3 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.005225, allocations: 9.844 kB / 481.3 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.005231, allocations: 7.891 kB / 481.3 MB, free: 26.77 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.16e-05/0.005293, allocations: 164.2 kB / 481.5 MB, free: 26.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.005307, allocations: 20.36 kB / 481.5 MB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.005331, allocations: 18.31 kB / 481.5 MB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005333, allocations: 0 / 481.5 MB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.005334, allocations: 0.5 kB / 481.5 MB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005337, allocations: 0 / 481.5 MB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.671e-05/0.005404, allocations: 131.6 kB / 481.6 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005405, allocations: 1.562 kB / 481.6 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.005425, allocations: 8.891 kB / 481.7 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005427, allocations: 2.688 kB / 481.7 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.00543, allocations: 0 / 481.7 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005431, allocations: 0.8438 kB / 481.7 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.005431, allocations: 0 / 481.7 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.884e-05/0.00549, allocations: 100.2 kB / 481.8 MB, free: 26.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.0055, allocations: 22 kB / 481.8 MB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.00551, allocations: 1.688 kB / 481.8 MB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.005534, allocations: 5.25 kB / 481.8 MB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.005558, allocations: 3.375 kB / 481.8 MB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.005571, allocations: 8.031 kB / 481.8 MB, free: 26.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.005645, allocations: 176.3 kB / 482 MB, free: 26.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005645, allocations: 0.5312 kB / 482 MB, free: 26.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.005779, allocations: 27.92 kB / 482 MB, free: 26.2 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.0001171/0.005896, allocations: 120.5 kB / 482.1 MB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.005959, allocations: 23.61 kB / 482.1 MB, free: 26.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.00596, allocations: 0 / 482.1 MB, free: 26.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.005974, allocations: 13.52 kB / 482.1 MB, free: 26.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.006137, allocations: 53.58 kB / 482.2 MB, free: 26.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.006508, allocations: 265.1 kB / 482.5 MB, free: 25.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.321e-05/0.006531, allocations: 80.17 kB / 482.5 MB, free: 25.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.422e-05/0.006565, allocations: 17.3 kB / 482.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.006644, allocations: 93.8 kB / 482.6 MB, free: 25.71 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.006644, allocations: 3.938 kB / 482.6 MB, free: 25.7 MB / 426.7 MB Notification: Performance of Templates: time 0.003639/0.01028, allocations: 1.961 MB / 484.6 MB, free: 25.53 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.3952364628203213]