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.0009731/0.0009731, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009896/0.0009896, allocations: 169 kB / 23.02 MB, free: 1.543 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.8829/0.8829, allocations: 177.1 MB / 203.4 MB, free: 5.434 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.001637/0.001637, allocations: 230.2 kB / 260.2 MB, free: 12.67 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.7881/0.7881, allocations: 138.4 MB / 455.2 MB, free: 29.94 MB / 410.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.563e-06/1.563e-06, allocations: 0 / 0.5551 GB, free: 136 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.463e-05, allocations: 5.828 kB / 0.5551 GB, free: 132 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.00566/0.005685, allocations: 1.674 MB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.00663, allocations: 0.6774 MB / 0.5574 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.006697, allocations: 4 kB / 0.5574 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.00684, allocations: 11.81 kB / 0.5574 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.007042, allocations: 51.69 kB / 0.5575 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.01043, allocations: 127.6 kB / 0.5576 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.01069, allocations: 183.5 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.0108, allocations: 25.62 kB / 0.5578 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.01103, allocations: 111.8 kB / 0.5579 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.01114, allocations: 75.78 kB / 0.558 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.01117, allocations: 12 kB / 0.558 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.01125, allocations: 31.92 kB / 0.558 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.01133, allocations: 35.91 kB / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.0114, allocations: 51.89 kB / 0.5581 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.01163, allocations: 151.5 kB / 0.5582 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01163, allocations: 0 / 0.5582 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01163, allocations: 0 / 0.5582 GB, free: 12.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.01164, allocations: 4 kB / 0.5582 GB, free: 12.89 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.0005898/0.01223, allocations: 0.5846 MB / 0.5588 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.01227, allocations: 9.938 kB / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.01245, allocations: 36.83 kB / 0.5588 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.01272, allocations: 193.1 kB / 0.559 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.01274, allocations: 4.375 kB / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.01276, allocations: 16.38 kB / 0.559 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.01301, allocations: 166.3 kB / 0.5592 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.01302, allocations: 4.188 kB / 0.5592 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.01304, allocations: 4.375 kB / 0.5592 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01305, allocations: 7.938 kB / 0.5592 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.01315, allocations: 91.31 kB / 0.5593 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.01366, allocations: 383.6 kB / 0.5597 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.01381, allocations: 118.5 kB / 0.5598 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.01392, allocations: 107 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.01394, allocations: 0 / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.01416, allocations: 227.8 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.01416, allocations: 0 / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.000554/0.01471, allocations: 423.8 kB / 0.5605 GB, free: 10.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.01479, allocations: 162.2 kB / 0.5607 GB, free: 10.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.01496, allocations: 234.6 kB / 0.5609 GB, free: 9.832 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01498, allocations: 29.7 kB / 0.5609 GB, free: 9.797 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.01505, allocations: 159 kB / 0.5611 GB, free: 9.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.01508, allocations: 31.73 kB / 0.5611 GB, free: 9.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.01515, allocations: 47.36 kB / 0.5611 GB, free: 9.547 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.0153, allocations: 0.4962 MB / 0.5616 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.0154, allocations: 138.8 kB / 0.5618 GB, free: 8.879 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.01554, allocations: 216.2 kB / 0.562 GB, free: 8.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.01575, allocations: 291.6 kB / 0.5622 GB, free: 8.254 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01575, allocations: 0 / 0.5622 GB, free: 8.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003911/0.01615, allocations: 426.9 kB / 0.5627 GB, free: 7.781 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.01621, allocations: 122.8 kB / 0.5628 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01622, allocations: 0 / 0.5628 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01623, allocations: 4 kB / 0.5628 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.01633, allocations: 19.92 kB / 0.5628 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01633, allocations: 0 / 0.5628 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.0164, allocations: 19.92 kB / 0.5628 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01642, allocations: 8.25 kB / 0.5628 GB, free: 7.586 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.0001321/0.01655, allocations: 239.9 kB / 0.563 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.01659, allocations: 27.84 kB / 0.5631 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.01662, allocations: 13.47 kB / 0.5631 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01662, allocations: 0 / 0.5631 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01663, allocations: 0 / 0.5631 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01663, allocations: 3.984 kB / 0.5631 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.01717, allocations: 0.5937 MB / 0.5637 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01717, allocations: 0 / 0.5637 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.01721, allocations: 11.98 kB / 0.5637 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01721, allocations: 4 kB / 0.5637 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.01723, allocations: 8 kB / 0.5637 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01723, allocations: 0 / 0.5637 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01723, allocations: 0 / 0.5637 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.01759, allocations: 490.6 kB / 0.5642 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.01761, allocations: 15.84 kB / 0.5642 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01763, allocations: 8 kB / 0.5642 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.01768, allocations: 11.98 kB / 0.5642 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.01772, allocations: 4 kB / 0.5642 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.01773, allocations: 7.984 kB / 0.5642 GB, free: 6.027 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.749e-05/0.0178, allocations: 169.1 kB / 0.5644 GB, free: 5.863 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0178, allocations: 4 kB / 0.5644 GB, free: 5.859 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01799, allocations: 32 kB / 0.5644 GB, free: 5.828 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.0001793/0.01817, allocations: 127.3 kB / 0.5645 GB, free: 5.703 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.0185, allocations: 0.4915 MB / 0.565 GB, free: 5.121 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.0185, allocations: 0 / 0.565 GB, free: 5.121 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.01863, allocations: 229.8 kB / 0.5652 GB, free: 4.855 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01885, allocations: 36.47 kB / 0.5653 GB, free: 4.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.01945, allocations: 344 kB / 0.5656 GB, free: 4.449 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.01949, allocations: 67.84 kB / 0.5657 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.19e-05/0.01953, allocations: 20.47 kB / 0.5657 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.01956, allocations: 20.5 kB / 0.5657 GB, free: 4.324 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01956, allocations: 0 / 0.5657 GB, free: 4.324 MB / 490.7 MB Notification: Performance of Templates: time 0.00475/0.02431, allocations: 2.373 MB / 0.568 GB, free: 2.012 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.644067944958806]