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.00134/0.00134, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001539/0.001539, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.434/1.434, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 178] 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.002659/0.002659, allocations: 231.2 kB / 259.8 MB, free: 12.86 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 1.089/1.089, allocations: 138.4 MB / 454.7 MB, free: 1.441 MB / 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.273e-06/1.273e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.517e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003177/0.003202, allocations: 1.615 MB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004527, allocations: 0.6543 MB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.004602, allocations: 4 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.004758, allocations: 19.73 kB / 0.5566 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.004984, allocations: 51.69 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.005469, allocations: 127.6 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.005791, allocations: 187.6 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005897, allocations: 21.56 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.006171, allocations: 107.8 kB / 0.557 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.006341, allocations: 75.83 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.006379, allocations: 12 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.006479, allocations: 35.92 kB / 0.5571 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.006571, allocations: 31.84 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.006672, allocations: 55.89 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.006997, allocations: 195.4 kB / 0.5574 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.007, allocations: 4 kB / 0.5574 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.007, allocations: 0 / 0.5574 GB, free: 13.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.007005, allocations: 0 / 0.5574 GB, free: 13.64 MB / 490.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.0007853/0.00779, allocations: 0.4886 MB / 0.5579 GB, free: 13.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.007827, allocations: 8.75 kB / 0.5579 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.008045, allocations: 40.83 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.008427, allocations: 189.6 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.008447, allocations: 12.38 kB / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.008478, allocations: 12.38 kB / 0.5581 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.008828, allocations: 169.6 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.008836, allocations: 192 / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.00886, allocations: 8.125 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.008864, allocations: 0 / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.009147, allocations: 135.3 kB / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.009827, allocations: 336.4 kB / 0.5588 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.01012, allocations: 142 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.01035, allocations: 128.2 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.01037, allocations: 3.938 kB / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.01073, allocations: 238.1 kB / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.01073, allocations: 0 / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.001002/0.01173, allocations: 487.7 kB / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.01186, allocations: 166.2 kB / 0.5599 GB, free: 10.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.01209, allocations: 175.6 kB / 0.56 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.01212, allocations: 33.7 kB / 0.5601 GB, free: 10.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01223, allocations: 116.3 kB / 0.5602 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.01227, allocations: 27.8 kB / 0.5602 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.01235, allocations: 37.7 kB / 0.5603 GB, free: 10.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.01254, allocations: 326.8 kB / 0.5606 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.01278, allocations: 158.8 kB / 0.5607 GB, free: 9.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.01308, allocations: 221.6 kB / 0.5609 GB, free: 9.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.01358, allocations: 309 kB / 0.5612 GB, free: 9.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01359, allocations: 4 kB / 0.5612 GB, free: 9.266 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007609/0.01435, allocations: 478.8 kB / 0.5617 GB, free: 8.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.01445, allocations: 118.8 kB / 0.5618 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01446, allocations: 0 / 0.5618 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.01448, allocations: 4 kB / 0.5618 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.0146, allocations: 23.92 kB / 0.5618 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01461, allocations: 4.25 kB / 0.5618 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01473, allocations: 23.88 kB / 0.5618 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.01475, allocations: 8 kB / 0.5619 GB, free: 8.539 MB / 490.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.0002134/0.01497, allocations: 198.2 kB / 0.562 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.01503, allocations: 31.84 kB / 0.5621 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.01507, allocations: 17.45 kB / 0.5621 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01507, allocations: 0 / 0.5621 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01507, allocations: 0 / 0.5621 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01508, allocations: 0 / 0.5621 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008894/0.01597, allocations: 0.5789 MB / 0.5627 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.01597, allocations: 3.984 kB / 0.5627 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.01604, allocations: 8 kB / 0.5627 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01604, allocations: 0 / 0.5627 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.01607, allocations: 11.98 kB / 0.5627 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01607, allocations: 0 / 0.5627 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01608, allocations: 4 kB / 0.5627 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.01682, allocations: 478 kB / 0.5631 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.01685, allocations: 15.84 kB / 0.5632 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.01689, allocations: 8 kB / 0.5632 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.01701, allocations: 11.94 kB / 0.5632 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.01707, allocations: 7.984 kB / 0.5632 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.01709, allocations: 15.97 kB / 0.5632 GB, free: 7.043 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.01722, allocations: 129.2 kB / 0.5633 GB, free: 6.918 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01722, allocations: 0 / 0.5633 GB, free: 6.918 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.01754, allocations: 36 kB / 0.5634 GB, free: 6.883 MB / 490.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.0002769/0.01782, allocations: 127.2 kB / 0.5635 GB, free: 6.754 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.01853, allocations: 0.5152 MB / 0.564 GB, free: 6.152 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01853, allocations: 0 / 0.564 GB, free: 6.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.01887, allocations: 242.6 kB / 0.5642 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.01921, allocations: 41.94 kB / 0.5643 GB, free: 5.844 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.01993, allocations: 347 kB / 0.5646 GB, free: 5.465 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.02004, allocations: 93.3 kB / 0.5647 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.262e-05/0.02012, allocations: 20.47 kB / 0.5647 GB, free: 5.336 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.02016, allocations: 20.5 kB / 0.5647 GB, free: 5.316 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02017, allocations: 0 / 0.5647 GB, free: 5.316 MB / 490.7 MB Notification: Performance of Templates: time 0.006296/0.02646, allocations: 2.217 MB / 0.5669 GB, free: 3.148 MB / 490.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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.54192915908061]