Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.0009545/0.0009545, allocations: 85.84 kB / 21.44 MB, free: 3.062 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.00111/0.00111, allocations: 169.1 kB / 24.84 MB, free: 9.316 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.9306/0.9306, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6369/0.6369, allocations: 115 MB / 376.8 MB, free: 7.527 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.319e-05, allocations: 2.312 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002059/0.002072, allocations: 1.657 MB / 484.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.002869, allocations: 0.665 MB / 485.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.002949, allocations: 6.375 kB / 485.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.003098, allocations: 13.17 kB / 485.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.003283, allocations: 52.91 kB / 485.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.003608, allocations: 118.2 kB / 485.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.003852, allocations: 191.2 kB / 485.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003955, allocations: 17.05 kB / 485.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.004201, allocations: 127.6 kB / 485.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.004314, allocations: 68.98 kB / 485.7 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.004347, allocations: 17.89 kB / 485.7 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.97e-05/0.004417, allocations: 26.41 kB / 485.7 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.00449, allocations: 35.89 kB / 485.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.004546, allocations: 55.56 kB / 485.8 MB, free: 9.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.004731, allocations: 150.7 kB / 485.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004734, allocations: 1.062 kB / 485.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004734, allocations: 0 / 485.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004739, allocations: 0 / 485.9 MB, free: 9.844 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.0004578/0.005197, allocations: 0.5845 MB / 486.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.00523, allocations: 9.312 kB / 486.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.005363, allocations: 31.03 kB / 486.6 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.005548, allocations: 184 kB / 486.7 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.005567, allocations: 12.06 kB / 486.7 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.005588, allocations: 10.81 kB / 486.8 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.005744, allocations: 162.7 kB / 486.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.005752, allocations: 192 / 486.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005762, allocations: 3.562 kB / 486.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.00577, allocations: 10.48 kB / 486.9 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.432e-05/0.005825, allocations: 85.62 kB / 487 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.006317, allocations: 362.9 kB / 487.4 MB, free: 24.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.006407, allocations: 113.8 kB / 487.5 MB, free: 24.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.006463, allocations: 100.6 kB / 487.6 MB, free: 24.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.006479, allocations: 0 / 487.6 MB, free: 24.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.006597, allocations: 227.3 kB / 487.8 MB, free: 24.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.006598, allocations: 0.5625 kB / 487.8 MB, free: 24.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000364/0.006962, allocations: 394.5 kB / 488.2 MB, free: 23.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.007009, allocations: 167.8 kB / 488.3 MB, free: 23.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.007131, allocations: 234.6 kB / 488.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.007148, allocations: 32.17 kB / 488.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.007207, allocations: 154.9 kB / 488.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.007229, allocations: 33.61 kB / 488.8 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.007279, allocations: 47.67 kB / 488.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.007405, allocations: 0.4969 MB / 489.3 MB, free: 22.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.007481, allocations: 140.3 kB / 489.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.007568, allocations: 204.2 kB / 489.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.007701, allocations: 290.9 kB / 490 MB, free: 22.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.007704, allocations: 3.156 kB / 490 MB, free: 22.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002908/0.007995, allocations: 408.6 kB / 490.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.008047, allocations: 126.6 kB / 490.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.008053, allocations: 2.188 kB / 490.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.008062, allocations: 3.156 kB / 490.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.008127, allocations: 15.59 kB / 490.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008132, allocations: 7.031 kB / 490.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.008184, allocations: 15.22 kB / 490.5 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.008198, allocations: 14.5 kB / 490.5 MB, free: 21.71 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.000109/0.008307, allocations: 229.8 kB / 490.8 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.008339, allocations: 32.06 kB / 490.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.008367, allocations: 16.53 kB / 490.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008371, allocations: 1.062 kB / 490.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.008373, allocations: 1.375 kB / 490.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.008376, allocations: 0 / 490.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.008753, allocations: 0.544 MB / 491.4 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008755, allocations: 0 / 491.4 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.008787, allocations: 12.03 kB / 491.4 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008789, allocations: 9.125 kB / 491.4 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.008802, allocations: 9.141 kB / 491.4 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.008803, allocations: 0 / 491.4 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.008805, allocations: 1.219 kB / 491.4 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.009095, allocations: 466.6 kB / 491.8 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.009107, allocations: 15.16 kB / 491.9 MB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.009127, allocations: 4.031 kB / 491.9 MB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.009178, allocations: 6.156 kB / 491.9 MB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.009212, allocations: 18.47 kB / 491.9 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.009224, allocations: 13.47 kB / 491.9 MB, free: 20.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.009289, allocations: 160.3 kB / 492.1 MB, free: 20.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00929, allocations: 0 / 492.1 MB, free: 20.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000211/0.009501, allocations: 34.56 kB / 492.1 MB, free: 20.51 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.0001661/0.009667, allocations: 127.3 kB / 492.2 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.009976, allocations: 479.8 kB / 492.7 MB, free: 19.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009978, allocations: 3.938 kB / 492.7 MB, free: 19.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.0101, allocations: 227.8 kB / 492.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01031, allocations: 25.47 kB / 492.9 MB, free: 19.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.01084, allocations: 340.5 kB / 493.3 MB, free: 19.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.01088, allocations: 72.48 kB / 493.3 MB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.01092, allocations: 10.25 kB / 493.3 MB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.01105, allocations: 120.8 kB / 493.5 MB, free: 19.32 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01105, allocations: 0 / 493.5 MB, free: 19.32 MB / 426.7 MB Notification: Performance of Templates: time 0.004083/0.01514, allocations: 2.428 MB / 495.9 MB, free: 19.02 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.66202823119238]