Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.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.0006599/0.0006599, allocations: 77.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.001564, allocations: 453.8 kB / 10.45 MB, free: 248 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.0008392/0.0008392, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002072, allocations: 479.5 kB / 11.83 MB, free: 2.34 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.9437/0.9437, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08198/1.026, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.6828/0.6828, allocations: 110.3 MB / 354.5 MB, free: 12.31 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.05943/0.7422, allocations: 34.96 MB / 389.4 MB, free: 9.25 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.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 390.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.901e-05, allocations: 6.312 kB / 390.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002371/0.00239, allocations: 1.712 MB / 392.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.003192, allocations: 0.6696 MB / 393.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.003254, allocations: 8 kB / 393.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.003347, allocations: 23.72 kB / 393.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.003485, allocations: 51.69 kB / 393.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.003755, allocations: 119.7 kB / 393.3 MB, free: 5.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.003961, allocations: 187.5 kB / 393.5 MB, free: 5.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004061, allocations: 14.28 kB / 393.5 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.00432, allocations: 147.6 kB / 393.7 MB, free: 4.977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.004445, allocations: 75.83 kB / 393.7 MB, free: 4.902 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.004473, allocations: 12 kB / 393.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.004556, allocations: 32 kB / 393.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.00462, allocations: 27.86 kB / 393.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.00467, allocations: 39.94 kB / 393.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004842, allocations: 131.5 kB / 394 MB, free: 4.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.004853, allocations: 0 / 394 MB, free: 4.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004854, allocations: 0 / 394 MB, free: 4.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.004869, allocations: 0 / 394 MB, free: 4.664 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005282/0.005397, allocations: 494.7 kB / 394.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.005426, allocations: 8.031 kB / 394.5 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.005584, allocations: 114 kB / 394.6 MB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.005777, allocations: 169.5 kB / 394.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.00579, allocations: 16.25 kB / 394.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.00581, allocations: 8.375 kB / 394.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.005964, allocations: 166.2 kB / 394.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005972, allocations: 192 / 394.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.005983, allocations: 4.375 kB / 394.9 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.00599, allocations: 7.938 kB / 394.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.593e-05/0.006046, allocations: 75.39 kB / 395 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.006361, allocations: 254.9 kB / 395.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/0.006451, allocations: 106 kB / 395.4 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.006509, allocations: 96.27 kB / 395.5 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.006527, allocations: 0 / 395.5 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.006667, allocations: 214.3 kB / 395.7 MB, free: 2.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.006668, allocations: 0 / 395.7 MB, free: 2.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002487/0.006917, allocations: 323.7 kB / 396 MB, free: 2.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.007007, allocations: 273 kB / 396.3 MB, free: 2.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.007099, allocations: 171.3 kB / 396.4 MB, free: 1.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.007117, allocations: 37.7 kB / 396.5 MB, free: 1.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.007157, allocations: 100.3 kB / 396.6 MB, free: 1.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.007178, allocations: 23.78 kB / 396.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.007234, allocations: 41.69 kB / 396.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.007315, allocations: 326.8 kB / 396.9 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.007382, allocations: 133.6 kB / 397.1 MB, free: 1.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.007467, allocations: 189.6 kB / 397.3 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.007601, allocations: 281.4 kB / 397.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007604, allocations: 0 / 397.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001923/0.007796, allocations: 356.7 kB / 397.9 MB, free: 204 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.007852, allocations: 123 kB / 398 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007856, allocations: 4 kB / 398 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007869, allocations: 4 kB / 398 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.007935, allocations: 19.92 kB / 398 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.007939, allocations: 4 kB / 398 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.007986, allocations: 15.95 kB / 398.1 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.007997, allocations: 8 kB / 398.1 MB, free: 0 / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.000105/0.008102, allocations: 188 kB / 398.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.008123, allocations: 23.92 kB / 398.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.008149, allocations: 21.39 kB / 398.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008151, allocations: 7.938 kB / 398.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008152, allocations: 0 / 398.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008155, allocations: 0 / 398.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.008403, allocations: 405.5 kB / 398.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008404, allocations: 0 / 398.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.008435, allocations: 11.94 kB / 398.7 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.008447, allocations: 19.83 kB / 398.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.008448, allocations: 0 / 398.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.00846, allocations: 11.98 kB / 398.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008461, allocations: 0 / 398.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008462, allocations: 4 kB / 398.7 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.008633, allocations: 342.4 kB / 399.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.008654, allocations: 7.938 kB / 399.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.008702, allocations: 7.984 kB / 399.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.008733, allocations: 15.98 kB / 399.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.008743, allocations: 7.984 kB / 399.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.008779, allocations: 42.78 kB / 399.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008779, allocations: 0 / 399.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.008935, allocations: 39.94 kB / 399.2 MB, free: 14.75 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: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001563/0.009091, allocations: 100.6 kB / 399.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.00934, allocations: 480.5 kB / 399.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.009347, allocations: 4 kB / 399.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.009455, allocations: 227 kB / 400 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.009633, allocations: 103.8 kB / 400.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.01038, allocations: 345.6 kB / 400.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.01042, allocations: 67.34 kB / 400.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.01046, allocations: 12.42 kB / 400.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.01057, allocations: 95.33 kB / 400.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01057, allocations: 0 / 400.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of Templates: time 0.003663/0.01423, allocations: 2.378 MB / 403 MB, free: 10.76 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.133322821930051]