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.001764/0.001764, allocations: 85.48 kB / 19.44 MB, free: 348 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.002496/0.002496, allocations: 177.2 kB / 22.77 MB, free: 1.664 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.003318/0.003318, allocations: 233.8 kB / 259.8 MB, free: 12.84 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.186/1.186, allocations: 138.4 MB / 454.7 MB, free: 1.504 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.704e-06/1.704e-06, allocations: 0 / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.179e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003368/0.0034, allocations: 1.649 MB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.004726, allocations: 0.6582 MB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.004799, allocations: 3.938 kB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.004964, allocations: 19.8 kB / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.005206, allocations: 51.69 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.005634, allocations: 119.6 kB / 0.5568 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.00594, allocations: 195.5 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.006054, allocations: 17.61 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.006334, allocations: 111.8 kB / 0.5571 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.006495, allocations: 67.84 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.006546, allocations: 16 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.61e-05/0.006642, allocations: 35.91 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.006739, allocations: 27.86 kB / 0.5572 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.006844, allocations: 63.89 kB / 0.5573 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.007184, allocations: 199.4 kB / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007188, allocations: 0 / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.007189, allocations: 0 / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.007194, allocations: 0 / 0.5575 GB, free: 13.65 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.001134/0.008329, allocations: 0.5921 MB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.008379, allocations: 8.75 kB / 0.558 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.008582, allocations: 40.78 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.008938, allocations: 192.4 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.008965, allocations: 16.38 kB / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.008997, allocations: 12.38 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.009327, allocations: 161.6 kB / 0.5584 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.009337, allocations: 192 / 0.5584 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.009355, allocations: 4.125 kB / 0.5584 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.009362, allocations: 7.938 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.00959, allocations: 115.4 kB / 0.5586 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.01032, allocations: 399.7 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.01061, allocations: 146.4 kB / 0.5591 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.01083, allocations: 123.2 kB / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.01087, allocations: 7.922 kB / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/0.01126, allocations: 247.7 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.01126, allocations: 0 / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009174/0.01217, allocations: 463.6 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.01232, allocations: 166.2 kB / 0.56 GB, free: 10.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.01261, allocations: 250.7 kB / 0.5603 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.01264, allocations: 33.7 kB / 0.5603 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.01278, allocations: 163 kB / 0.5605 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.01282, allocations: 31.8 kB / 0.5605 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.01292, allocations: 51.3 kB / 0.5606 GB, free: 10.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/0.01324, allocations: 0.5001 MB / 0.561 GB, free: 9.605 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.01346, allocations: 158.8 kB / 0.5612 GB, free: 9.426 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.01375, allocations: 232.2 kB / 0.5614 GB, free: 9.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.01419, allocations: 323.6 kB / 0.5617 GB, free: 8.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01419, allocations: 0 / 0.5617 GB, free: 8.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007214/0.01492, allocations: 463.1 kB / 0.5622 GB, free: 8.246 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.01503, allocations: 122.8 kB / 0.5623 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01504, allocations: 0 / 0.5623 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.01506, allocations: 4 kB / 0.5623 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01519, allocations: 15.98 kB / 0.5623 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.01519, allocations: 0 / 0.5623 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.01529, allocations: 15.89 kB / 0.5623 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.01532, allocations: 12 kB / 0.5623 GB, free: 8.055 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.0002257/0.01554, allocations: 240.9 kB / 0.5626 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.0156, allocations: 27.84 kB / 0.5626 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.01565, allocations: 21.52 kB / 0.5626 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.01565, allocations: 4 kB / 0.5626 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01566, allocations: 0 / 0.5626 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01566, allocations: 0 / 0.5626 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.01657, allocations: 0.6328 MB / 0.5632 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01657, allocations: 0 / 0.5632 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.01663, allocations: 11.98 kB / 0.5632 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01663, allocations: 0 / 0.5632 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.01665, allocations: 4 kB / 0.5632 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.01666, allocations: 7.984 kB / 0.5633 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01666, allocations: 8 kB / 0.5633 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/0.0174, allocations: 0.5219 MB / 0.5638 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.01743, allocations: 15.84 kB / 0.5638 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.01747, allocations: 4 kB / 0.5638 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01757, allocations: 7.984 kB / 0.5638 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.01763, allocations: 8 kB / 0.5638 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.01765, allocations: 7.984 kB / 0.5638 GB, free: 6.402 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.0178, allocations: 177.1 kB / 0.564 GB, free: 6.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0178, allocations: 0 / 0.564 GB, free: 6.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000319/0.01812, allocations: 35.98 kB / 0.564 GB, free: 6.195 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.00062/0.01874, allocations: 138.5 kB / 0.5641 GB, free: 6.059 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007243/0.01947, allocations: 0.5231 MB / 0.5647 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01947, allocations: 0 / 0.5647 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.0198, allocations: 265.8 kB / 0.5649 GB, free: 5.145 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.02013, allocations: 26.5 kB / 0.5649 GB, free: 5.121 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.02084, allocations: 349 kB / 0.5653 GB, free: 4.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.02096, allocations: 93.5 kB / 0.5654 GB, free: 4.629 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.02102, allocations: 20.47 kB / 0.5654 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.02107, allocations: 20.5 kB / 0.5654 GB, free: 4.59 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02107, allocations: 0 / 0.5654 GB, free: 4.59 MB / 490.7 MB Notification: Performance of Templates: time 0.006593/0.02766, allocations: 2.211 MB / 0.5676 GB, free: 2.418 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: 5.766683573019691]