Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 190.7 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 251.6 MB / 0.5089 GB, free: 3.34 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 0.6218 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4093, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002861/0.4122, allocations: 1.667 MB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.4131, allocations: 0.6551 MB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.4132, allocations: 0 / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.4134, allocations: 15.92 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.4135, allocations: 46.45 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.4139, allocations: 99.84 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.4141, allocations: 195.6 kB / 0.7266 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4142, allocations: 33.05 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.4144, allocations: 83.81 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.4145, allocations: 83.66 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.4146, allocations: 12 kB / 0.7268 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.4146, allocations: 32 kB / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.4147, allocations: 27.91 kB / 0.7269 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.4148, allocations: 75.66 kB / 0.7269 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.415, allocations: 169.5 kB / 0.7271 GB, free: 9.895 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.415, allocations: 3.938 kB / 0.7271 GB, free: 9.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4151, allocations: 4 kB / 0.7271 GB, free: 9.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4151, allocations: 0 / 0.7271 GB, free: 9.887 MB / 0.545 GB 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.0006908/0.4158, allocations: 0.5524 MB / 0.7276 GB, free: 9.262 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4158, allocations: 8.031 kB / 0.7277 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.4159, allocations: 20.75 kB / 0.7277 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.4162, allocations: 236.9 kB / 0.7279 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.4162, allocations: 12.38 kB / 0.7279 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.4162, allocations: 16.31 kB / 0.7279 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.4165, allocations: 113.8 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.4165, allocations: 3.984 kB / 0.728 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.4165, allocations: 4 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4165, allocations: 0 / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.4167, allocations: 71.94 kB / 0.7281 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.4173, allocations: 424.5 kB / 0.7285 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.4175, allocations: 86.53 kB / 0.7286 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.4177, allocations: 76.81 kB / 0.7287 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.4177, allocations: 96 / 0.7287 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.418, allocations: 182.7 kB / 0.7288 GB, free: 7.902 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.418, allocations: 0 / 0.7288 GB, free: 7.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006483/0.4186, allocations: 352.8 kB / 0.7292 GB, free: 7.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.4187, allocations: 166.2 kB / 0.7293 GB, free: 7.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.4189, allocations: 171.2 kB / 0.7295 GB, free: 7.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4189, allocations: 29.7 kB / 0.7295 GB, free: 7.129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.419, allocations: 112.4 kB / 0.7296 GB, free: 7.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.419, allocations: 27.92 kB / 0.7297 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.4191, allocations: 41.7 kB / 0.7297 GB, free: 6.941 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4192, allocations: 326.8 kB / 0.73 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4193, allocations: 51.91 kB / 0.7301 GB, free: 6.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.4195, allocations: 102.8 kB / 0.7302 GB, free: 6.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.4198, allocations: 316.9 kB / 0.7305 GB, free: 6.066 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4198, allocations: 0 / 0.7305 GB, free: 6.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004796/0.4203, allocations: 348.2 kB / 0.7308 GB, free: 5.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.4204, allocations: 118.8 kB / 0.7309 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4204, allocations: 4 kB / 0.7309 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4204, allocations: 4 kB / 0.7309 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4205, allocations: 15.98 kB / 0.7309 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4205, allocations: 3.938 kB / 0.7309 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.4206, allocations: 27.83 kB / 0.731 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4207, allocations: 12 kB / 0.731 GB, free: 5.488 MB / 0.545 GB 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.0001522/0.4208, allocations: 197.2 kB / 0.7312 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4209, allocations: 19.81 kB / 0.7312 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.4209, allocations: 17.39 kB / 0.7312 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4209, allocations: 0 / 0.7312 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4209, allocations: 0 / 0.7312 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4209, allocations: 0 / 0.7312 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.4216, allocations: 0.5837 MB / 0.7318 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4216, allocations: 0 / 0.7318 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.4217, allocations: 19.98 kB / 0.7318 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4217, allocations: 0 / 0.7318 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4217, allocations: 7.984 kB / 0.7318 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4217, allocations: 7.938 kB / 0.7318 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4217, allocations: 3.938 kB / 0.7318 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.4223, allocations: 394.7 kB / 0.7322 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.4223, allocations: 92.95 kB / 0.7323 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.4224, allocations: 4 kB / 0.7323 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4225, allocations: 11.98 kB / 0.7323 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.4225, allocations: 7.938 kB / 0.7323 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.4225, allocations: 15.92 kB / 0.7323 GB, free: 3.984 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.894e-05/0.4226, allocations: 132.2 kB / 0.7324 GB, free: 3.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4226, allocations: 4 kB / 0.7324 GB, free: 3.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002673/0.4229, allocations: 32 kB / 0.7325 GB, free: 3.82 MB / 0.545 GB 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.0002518/0.4232, allocations: 134.1 kB / 0.7326 GB, free: 3.688 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.4237, allocations: 365.4 kB / 0.7329 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4237, allocations: 0.5 kB / 0.7329 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.4239, allocations: 202.8 kB / 0.7331 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4242, allocations: 27.92 kB / 0.7332 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.4247, allocations: 323.9 kB / 0.7335 GB, free: 2.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.425, allocations: 0.7157 MB / 0.7342 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.273e-05/0.4251, allocations: 20.53 kB / 0.7342 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.4251, allocations: 11.44 kB / 0.7342 GB, free: 1.914 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4251, allocations: 4 kB / 0.7342 GB, free: 1.91 MB / 0.545 GB Notification: Performance of Templates: time 0.004474/0.4296, allocations: 2.069 MB / 0.7362 GB, free: 15.87 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)