Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001209/0.001209, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001247/0.001247, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001886/0.001886, allocations: 245.7 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7366/0.7366, allocations: 138.4 MB / 402.2 MB, free: 52 kB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.298e-05, allocations: 7.031 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002533/0.002556, allocations: 1.676 MB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.00359, allocations: 0.6657 MB / 464.6 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.003674, allocations: 7.125 kB / 464.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.003832, allocations: 16.56 kB / 464.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.004039, allocations: 49.12 kB / 464.7 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.004441, allocations: 126.5 kB / 464.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.004706, allocations: 187.8 kB / 465 MB, free: 15.19 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.004801, allocations: 23.78 kB / 465.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.005048, allocations: 122.8 kB / 465.2 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.005164, allocations: 73.67 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.005193, allocations: 13.97 kB / 465.3 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.005266, allocations: 32.64 kB / 465.3 MB, free: 15.1 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.00534, allocations: 37.31 kB / 465.3 MB, free: 15.08 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.005405, allocations: 56 kB / 465.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.005631, allocations: 154.3 kB / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005633, allocations: 0.5312 kB / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005634, allocations: 0 / 465.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.005639, allocations: 0.75 kB / 465.5 MB, free: 14.98 MB / 426.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.0005051/0.006144, allocations: 468.8 kB / 466 MB, free: 14.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.006178, allocations: 10.09 kB / 466 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.006314, allocations: 29.28 kB / 466 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.006544, allocations: 175.5 kB / 466.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.006561, allocations: 11.8 kB / 466.2 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.006585, allocations: 12.62 kB / 466.2 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.00677, allocations: 160 kB / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.006777, allocations: 192 / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.006788, allocations: 3.844 kB / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.006795, allocations: 5.062 kB / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.006865, allocations: 89.83 kB / 466.5 MB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.007218, allocations: 243.4 kB / 466.7 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.007321, allocations: 100.5 kB / 466.8 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.007382, allocations: 90.73 kB / 466.9 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.0074, allocations: 1.312 kB / 466.9 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.007545, allocations: 210.9 kB / 467.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.007547, allocations: 1.219 kB / 467.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002628/0.00781, allocations: 322.8 kB / 467.4 MB, free: 13.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.007872, allocations: 170.1 kB / 467.6 MB, free: 13.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.007986, allocations: 176.6 kB / 467.8 MB, free: 12.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.008004, allocations: 33.7 kB / 467.8 MB, free: 12.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.008043, allocations: 96.34 kB / 467.9 MB, free: 12.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.008064, allocations: 32.56 kB / 467.9 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.008111, allocations: 37.69 kB / 468 MB, free: 12.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.008188, allocations: 327.6 kB / 468.3 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.008261, allocations: 137.6 kB / 468.4 MB, free: 12.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.008346, allocations: 183.7 kB / 468.6 MB, free: 11.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.008493, allocations: 272.3 kB / 468.9 MB, free: 11.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008496, allocations: 1.719 kB / 468.9 MB, free: 11.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002077/0.008703, allocations: 357.3 kB / 469.2 MB, free: 11.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.008757, allocations: 121 kB / 469.3 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.008764, allocations: 8.984 kB / 469.3 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.008778, allocations: 0 / 469.3 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.008845, allocations: 16 kB / 469.4 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.008851, allocations: 11.92 kB / 469.4 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.008903, allocations: 17 kB / 469.4 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.008916, allocations: 8 kB / 469.4 MB, free: 10.97 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.0001013/0.009017, allocations: 184.1 kB / 469.6 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.009041, allocations: 21.23 kB / 469.6 MB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.009068, allocations: 21.39 kB / 469.6 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00907, allocations: 0 / 469.6 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009073, allocations: 1.375 kB / 469.6 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009077, allocations: 0 / 469.6 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.009355, allocations: 411.7 kB / 470 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009357, allocations: 0.5 kB / 470 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.00939, allocations: 11.98 kB / 470 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009393, allocations: 3.938 kB / 470 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.009405, allocations: 10.53 kB / 470 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009406, allocations: 3.938 kB / 470 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.009408, allocations: 3.984 kB / 470 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.009591, allocations: 335 kB / 470.4 MB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.009602, allocations: 7.953 kB / 470.4 MB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.009625, allocations: 8.844 kB / 470.4 MB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.009676, allocations: 8 kB / 470.4 MB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.009708, allocations: 9.438 kB / 470.4 MB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.009718, allocations: 4 kB / 470.4 MB, free: 9.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.009753, allocations: 47.84 kB / 470.5 MB, free: 9.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.009753, allocations: 0 / 470.5 MB, free: 9.801 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.009941, allocations: 47.88 kB / 470.5 MB, free: 9.754 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.0001807/0.01012, allocations: 108.2 kB / 470.6 MB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.0104, allocations: 473.8 kB / 471.1 MB, free: 9.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.01041, allocations: 0 / 471.1 MB, free: 9.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.01051, allocations: 227.8 kB / 471.3 MB, free: 8.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.01068, allocations: 21.52 kB / 471.3 MB, free: 8.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.0112, allocations: 331.6 kB / 471.6 MB, free: 8.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.01125, allocations: 63.34 kB / 471.7 MB, free: 8.375 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.01129, allocations: 14.33 kB / 471.7 MB, free: 8.363 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.01141, allocations: 96 kB / 471.8 MB, free: 8.273 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01141, allocations: 0 / 471.8 MB, free: 8.273 MB / 426.7 MB Notification: Performance of Templates: time 0.004266/0.01567, allocations: 2.334 MB / 474.1 MB, free: 6.195 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.613462797831744]