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.0006563/0.0006564, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.003888/0.003889, allocations: 173.1 kB / 16.26 MB, free: 6.676 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.129/1.129, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.321/1.321, allocations: 252 MB / 0.5105 GB, free: 4.629 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.0004397/0.0004397, allocations: 12.56 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3578, allocations: 106.3 MB / 0.7287 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001684/0.3595, allocations: 1.328 MB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.3605, allocations: 0.6786 MB / 0.7307 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.3606, allocations: 0 / 0.7307 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.3607, allocations: 19.84 kB / 0.7307 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.3609, allocations: 39.83 kB / 0.7307 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.3613, allocations: 95.84 kB / 0.7308 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3614, allocations: 159.6 kB / 0.731 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.3615, allocations: 25.12 kB / 0.731 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3617, allocations: 75.69 kB / 0.7311 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3618, allocations: 79.72 kB / 0.7312 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.3618, allocations: 8 kB / 0.7312 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.3619, allocations: 16 kB / 0.7312 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.362, allocations: 27.91 kB / 0.7312 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.3621, allocations: 93.36 kB / 0.7313 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3623, allocations: 157.5 kB / 0.7314 GB, free: 8.531 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3623, allocations: 0 / 0.7314 GB, free: 8.531 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3623, allocations: 4 kB / 0.7315 GB, free: 8.527 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3623, allocations: 3.938 kB / 0.7315 GB, free: 8.523 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.0005465/0.3628, allocations: 0.5251 MB / 0.732 GB, free: 7.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.3629, allocations: 8.031 kB / 0.732 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.3629, allocations: 16.84 kB / 0.732 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3632, allocations: 232.9 kB / 0.7322 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3632, allocations: 8.375 kB / 0.7322 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.3633, allocations: 16.38 kB / 0.7322 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.3635, allocations: 125.7 kB / 0.7324 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3635, allocations: 0 / 0.7324 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3636, allocations: 7.938 kB / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3636, allocations: 0 / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3638, allocations: 83.89 kB / 0.7324 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.3643, allocations: 420.5 kB / 0.7328 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3645, allocations: 94.53 kB / 0.7329 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.3647, allocations: 80.81 kB / 0.733 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3647, allocations: 0 / 0.733 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.365, allocations: 187 kB / 0.7332 GB, free: 6.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.365, allocations: 7.922 kB / 0.7332 GB, free: 6.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006805/0.3657, allocations: 352.9 kB / 0.7335 GB, free: 6.172 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3658, allocations: 174.2 kB / 0.7337 GB, free: 5.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.366, allocations: 175.1 kB / 0.7339 GB, free: 5.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.366, allocations: 33.7 kB / 0.7339 GB, free: 5.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.3661, allocations: 108.4 kB / 0.734 GB, free: 5.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3661, allocations: 27.64 kB / 0.734 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.3662, allocations: 25.7 kB / 0.7341 GB, free: 5.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3663, allocations: 326.8 kB / 0.7344 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3664, allocations: 55.97 kB / 0.7344 GB, free: 5.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3666, allocations: 102.8 kB / 0.7345 GB, free: 5.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.3669, allocations: 324.9 kB / 0.7348 GB, free: 4.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3669, allocations: 4 kB / 0.7348 GB, free: 4.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005056/0.3674, allocations: 352.2 kB / 0.7352 GB, free: 4.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.3675, allocations: 120.4 kB / 0.7353 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3675, allocations: 4 kB / 0.7353 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3676, allocations: 3.938 kB / 0.7353 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3677, allocations: 19.98 kB / 0.7353 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3677, allocations: 4 kB / 0.7353 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.3678, allocations: 15.84 kB / 0.7353 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3678, allocations: 20.08 kB / 0.7353 GB, free: 4.102 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.0001447/0.368, allocations: 201.1 kB / 0.7355 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.368, allocations: 11.91 kB / 0.7355 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.368, allocations: 17.41 kB / 0.7356 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3681, allocations: 8.266 kB / 0.7356 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3681, allocations: 0 / 0.7356 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3681, allocations: 3.938 kB / 0.7356 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.3687, allocations: 0.5953 MB / 0.7362 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3688, allocations: 0 / 0.7362 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.3688, allocations: 15.98 kB / 0.7362 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3688, allocations: 0 / 0.7362 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3689, allocations: 7.984 kB / 0.7362 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3689, allocations: 4 kB / 0.7362 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3689, allocations: 7.938 kB / 0.7362 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.3694, allocations: 410.6 kB / 0.7366 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.3694, allocations: 88.95 kB / 0.7367 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.3695, allocations: 8 kB / 0.7367 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3696, allocations: 15.98 kB / 0.7367 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3696, allocations: 7.938 kB / 0.7367 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3697, allocations: 11.98 kB / 0.7367 GB, free: 2.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.42e-05/0.3698, allocations: 128.3 kB / 0.7368 GB, free: 2.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3698, allocations: 0 / 0.7368 GB, free: 2.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002718/0.37, allocations: 39.98 kB / 0.7369 GB, free: 2.402 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.0001998/0.3703, allocations: 118.1 kB / 0.737 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.3707, allocations: 369.7 kB / 0.7373 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3707, allocations: 4.188 kB / 0.7373 GB, free: 1.867 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.371, allocations: 210.7 kB / 0.7375 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3713, allocations: 29.95 kB / 0.7376 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.3718, allocations: 321.8 kB / 0.7379 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.372, allocations: 0.7121 MB / 0.7386 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.3721, allocations: 24.53 kB / 0.7386 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.3721, allocations: 15.44 kB / 0.7386 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.3721, allocations: 0 / 0.7386 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of Templates: time 0.004209/0.3764, allocations: 1.992 MB / 0.7406 GB, free: 14.53 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: