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.001133/0.001133, allocations: 96.2 kB / 20.47 MB, free: 4.129 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.001361/0.001361, allocations: 157 kB / 23.82 MB, free: 0.7734 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.9963/0.9963, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.6076/0.6076, allocations: 110.2 MB / 371 MB, free: 12.43 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.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.753e-06/1.753e-06, allocations: 0 / 475.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.815e-05, allocations: 7.281 kB / 475.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002343/0.002371, allocations: 1.677 MB / 476.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.003176, allocations: 0.6728 MB / 477.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.003254, allocations: 2.625 kB / 477.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.003437, allocations: 24.02 kB / 477.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.003648, allocations: 45.77 kB / 477.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.003951, allocations: 126.5 kB / 477.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.004156, allocations: 188.6 kB / 477.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.004273, allocations: 16.73 kB / 477.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.004487, allocations: 117.3 kB / 478 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004588, allocations: 74.31 kB / 478.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.004619, allocations: 15.34 kB / 478.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.004693, allocations: 28.56 kB / 478.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.00477, allocations: 32.58 kB / 478.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.004833, allocations: 54.59 kB / 478.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.005055, allocations: 160.5 kB / 478.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.005059, allocations: 0 / 478.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00506, allocations: 0 / 478.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.005065, allocations: 2 kB / 478.4 MB, free: 13.3 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005173/0.005583, allocations: 0.5798 MB / 479 MB, free: 12.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.005623, allocations: 8.219 kB / 479 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.005787, allocations: 38.59 kB / 479 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.006, allocations: 190.8 kB / 479.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.006015, allocations: 11.34 kB / 479.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.006037, allocations: 15.59 kB / 479.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.006261, allocations: 159.1 kB / 479.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.006269, allocations: 192 / 479.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.006285, allocations: 4.25 kB / 479.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006292, allocations: 3.938 kB / 479.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.006369, allocations: 98.77 kB / 479.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.006795, allocations: 385.9 kB / 479.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.006915, allocations: 124.4 kB / 480 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.006987, allocations: 99.39 kB / 480.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.007011, allocations: 4.438 kB / 480.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.007158, allocations: 229.3 kB / 480.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/0.007161, allocations: 0 / 480.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000434/0.007595, allocations: 416.7 kB / 480.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.007647, allocations: 161.9 kB / 480.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.008085, allocations: 238.3 kB / 481.1 MB, free: 27.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.008108, allocations: 35.3 kB / 481.1 MB, free: 26.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.008195, allocations: 152.7 kB / 481.3 MB, free: 26.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.008222, allocations: 29.31 kB / 481.3 MB, free: 26.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.008283, allocations: 47.56 kB / 481.4 MB, free: 26.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.008459, allocations: 0.4965 MB / 481.9 MB, free: 26.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.008565, allocations: 137 kB / 482 MB, free: 26.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.008681, allocations: 215 kB / 482.2 MB, free: 25.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.008852, allocations: 299.2 kB / 482.5 MB, free: 25.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.008856, allocations: 2.875 kB / 482.5 MB, free: 25.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003361/0.009192, allocations: 426.7 kB / 482.9 MB, free: 25.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.009261, allocations: 120.8 kB / 483 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.009268, allocations: 0 / 483 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.009287, allocations: 2.719 kB / 483 MB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.009393, allocations: 20.75 kB / 483.1 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.0094, allocations: 6.844 kB / 483.1 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.00945, allocations: 11.66 kB / 483.1 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.009465, allocations: 8.312 kB / 483.1 MB, free: 25.12 MB / 426.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.0001269/0.009592, allocations: 236.5 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.009621, allocations: 31.47 kB / 483.4 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.009651, allocations: 12 kB / 483.4 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009654, allocations: 1.375 kB / 483.4 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.009661, allocations: 4.516 kB / 483.4 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.009666, allocations: 3.984 kB / 483.4 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.01015, allocations: 0.5945 MB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01015, allocations: 0.9688 kB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.01019, allocations: 10.05 kB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.0102, allocations: 2.219 kB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.01021, allocations: 7.344 kB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01021, allocations: 7.375 kB / 484 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01022, allocations: 0 / 484 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.01058, allocations: 484.8 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.01059, allocations: 7.547 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.01062, allocations: 4.5 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.01068, allocations: 9.875 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.01074, allocations: 8.812 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01075, allocations: 8.062 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.009e-05/0.01084, allocations: 167.9 kB / 484.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 0 / 484.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.01106, allocations: 38.3 kB / 484.7 MB, free: 23.88 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: 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.0002705/0.01133, allocations: 139.4 kB / 484.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.0117, allocations: 494.2 kB / 485.3 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0117, allocations: 0 / 485.3 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.01183, allocations: 235.8 kB / 485.6 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01209, allocations: 35.84 kB / 485.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.01279, allocations: 328.2 kB / 485.9 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.01283, allocations: 69.44 kB / 486 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.01289, allocations: 22.86 kB / 486 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.01292, allocations: 23.72 kB / 486 MB, free: 22.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.093e-06/0.01292, allocations: 3.188 kB / 486 MB, free: 22.74 MB / 426.7 MB Notification: Performance of Templates: time 0.005463/0.01839, allocations: 2.4 MB / 488.4 MB, free: 22.47 MB / 426.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.7750768191181123]