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.001021/0.001021, allocations: 80.39 kB / 20.97 MB, free: 3.574 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.001085/0.001085, allocations: 165 kB / 24.28 MB, free: 276 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 1.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.5791/0.5791, allocations: 110.3 MB / 371.3 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.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.142e-06/1.142e-06, allocations: 0 / 475.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.076e-05, allocations: 4.828 kB / 475.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001645/0.001656, allocations: 1.677 MB / 476.8 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005899/0.002246, allocations: 0.6615 MB / 477.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.002302, allocations: 3.938 kB / 477.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.589e-05/0.002388, allocations: 21.56 kB / 477.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.002505, allocations: 46.75 kB / 477.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.002711, allocations: 119.8 kB / 477.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.002852, allocations: 190.3 kB / 477.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.355e-05/0.002915, allocations: 20.56 kB / 477.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.00304, allocations: 120 kB / 478 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.003105, allocations: 73.19 kB / 478.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.003126, allocations: 15 kB / 478.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.00317, allocations: 31.89 kB / 478.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.003215, allocations: 29.12 kB / 478.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.003259, allocations: 57.16 kB / 478.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.003396, allocations: 150.2 kB / 478.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003398, allocations: 4 kB / 478.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003399, allocations: 0 / 478.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.003402, allocations: 1.094 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.000331/0.003733, allocations: 0.585 MB / 479 MB, free: 12.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.34e-05/0.003757, allocations: 7.875 kB / 479 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.003862, allocations: 34.16 kB / 479 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.00402, allocations: 188.7 kB / 479.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.00403, allocations: 5.625 kB / 479.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.004046, allocations: 19.16 kB / 479.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.004183, allocations: 161.8 kB / 479.4 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.004189, allocations: 2.219 kB / 479.4 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.0042, allocations: 7.031 kB / 479.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004206, allocations: 2.625 kB / 479.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.004275, allocations: 94 kB / 479.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.004557, allocations: 383.2 kB / 479.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/0.004637, allocations: 133.7 kB / 480 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.004696, allocations: 103.6 kB / 480.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.00471, allocations: 11.22 kB / 480.1 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.004819, allocations: 223.2 kB / 480.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.00482, allocations: 3.438 kB / 480.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003297/0.00515, allocations: 410.1 kB / 480.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.005276, allocations: 166.6 kB / 480.9 MB, free: 27.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.005382, allocations: 236.5 kB / 481.1 MB, free: 27.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.005395, allocations: 28.67 kB / 481.1 MB, free: 26.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.005443, allocations: 154.3 kB / 481.3 MB, free: 26.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.00546, allocations: 31.02 kB / 481.3 MB, free: 26.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.005501, allocations: 51.64 kB / 481.4 MB, free: 26.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005603, allocations: 0.4931 MB / 481.9 MB, free: 26.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.005675, allocations: 148.4 kB / 482 MB, free: 26.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.005755, allocations: 211.5 kB / 482.2 MB, free: 25.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.005879, allocations: 302.8 kB / 482.5 MB, free: 25.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005881, allocations: 0 / 482.5 MB, free: 25.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002517/0.006133, allocations: 418.6 kB / 482.9 MB, free: 25.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.006179, allocations: 120.2 kB / 483 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006184, allocations: 6.312 kB / 483 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006195, allocations: 11.75 kB / 483 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.006255, allocations: 10.91 kB / 483.1 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.00626, allocations: 3.844 kB / 483.1 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.006305, allocations: 11.75 kB / 483.1 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.006317, allocations: 11.41 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 8.682e-05/0.006404, allocations: 235.6 kB / 483.3 MB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.006428, allocations: 30.91 kB / 483.3 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.00645, allocations: 18.72 kB / 483.4 MB, free: 24.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006452, allocations: 1.375 kB / 483.4 MB, free: 24.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.006455, allocations: 0 / 483.4 MB, free: 24.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006458, allocations: 0 / 483.4 MB, free: 24.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.006802, allocations: 0.5922 MB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006803, allocations: 1.344 kB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.006832, allocations: 10.06 kB / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006834, allocations: 0 / 484 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.006845, allocations: 13.77 kB / 484 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.006847, allocations: 2.594 kB / 484 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006847, allocations: 0 / 484 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.007104, allocations: 486.2 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.007121, allocations: 6.859 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.007146, allocations: 12.84 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.0072, allocations: 3.188 kB / 484.5 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.007227, allocations: 10.3 kB / 484.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.007237, allocations: 9.406 kB / 484.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.353e-05/0.007301, allocations: 163.7 kB / 484.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007301, allocations: 0 / 484.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.00748, allocations: 39.36 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.0001324/0.007613, allocations: 133.8 kB / 484.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.00787, allocations: 497.5 kB / 485.3 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.007871, allocations: 0 / 485.3 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.007979, allocations: 236.8 kB / 485.5 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.0001882/0.008167, allocations: 27.16 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.0004697/0.008637, allocations: 342.5 kB / 485.9 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.008664, allocations: 70.22 kB / 486 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.008701, allocations: 24.81 kB / 486 MB, free: 22.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.008725, allocations: 18.72 kB / 486 MB, free: 22.73 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008726, allocations: 0 / 486 MB, free: 22.73 MB / 426.7 MB Notification: Performance of Templates: time 0.003322/0.01205, allocations: 2.246 MB / 488.3 MB, free: 22.5 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.6765443310141563]