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.0007881/0.0007881, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007831/0.0007831, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8109/0.8109, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.001342/0.001342, allocations: 242.1 kB / 260.2 MB, free: 13.03 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.6451/0.6451, allocations: 138.4 MB / 455.1 MB, free: 30.06 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.763e-06/1.763e-06, allocations: 0 / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.955e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.2503/0.2504, allocations: 1.62 MB / 0.6491 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000836/0.2512, allocations: 0.6432 MB / 0.6497 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.2513, allocations: 5.781 kB / 0.6497 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.2514, allocations: 26.2 kB / 0.6498 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.2516, allocations: 42.44 kB / 0.6498 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.252, allocations: 131.5 kB / 0.6499 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2522, allocations: 192.7 kB / 0.6501 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2523, allocations: 15.17 kB / 0.6501 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.2525, allocations: 115.2 kB / 0.6502 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2526, allocations: 77.23 kB / 0.6503 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.2526, allocations: 14.97 kB / 0.6503 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.2527, allocations: 32.62 kB / 0.6503 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.2528, allocations: 32.66 kB / 0.6504 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.2528, allocations: 53.3 kB / 0.6504 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.2531, allocations: 197.7 kB / 0.6506 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2531, allocations: 0.5312 kB / 0.6506 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2531, allocations: 0.5625 kB / 0.6506 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2531, allocations: 0.75 kB / 0.6506 GB, free: 56.2 MB / 0.5573 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.0004917/0.2536, allocations: 494.3 kB / 0.6511 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2536, allocations: 15.91 kB / 0.6511 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.2538, allocations: 25.19 kB / 0.6511 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.254, allocations: 183.9 kB / 0.6513 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.254, allocations: 10.66 kB / 0.6513 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.254, allocations: 13.28 kB / 0.6513 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.2543, allocations: 170.9 kB / 0.6515 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2543, allocations: 192 / 0.6515 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2543, allocations: 7.562 kB / 0.6515 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.2543, allocations: 2.266 kB / 0.6515 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.2544, allocations: 133.6 kB / 0.6516 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.2548, allocations: 336.3 kB / 0.6519 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2549, allocations: 142.4 kB / 0.6521 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.255, allocations: 123.4 kB / 0.6522 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.2551, allocations: 8.5 kB / 0.6522 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.2552, allocations: 236.9 kB / 0.6524 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.2552, allocations: 0 / 0.6524 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0004743/0.2557, allocations: 482.6 kB / 0.6529 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2557, allocations: 166.1 kB / 0.6531 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2559, allocations: 174.9 kB / 0.6532 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2559, allocations: 34.83 kB / 0.6533 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.2559, allocations: 115.2 kB / 0.6534 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2559, allocations: 25.92 kB / 0.6534 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.256, allocations: 38.45 kB / 0.6534 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.256, allocations: 328.7 kB / 0.6537 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2561, allocations: 164.9 kB / 0.6539 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2562, allocations: 220.5 kB / 0.6541 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2564, allocations: 310.7 kB / 0.6544 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2564, allocations: 1.562 kB / 0.6544 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002982/0.2567, allocations: 467.5 kB / 0.6549 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.2567, allocations: 119.2 kB / 0.655 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2568, allocations: 1.719 kB / 0.655 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2568, allocations: 4.688 kB / 0.655 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.2568, allocations: 19.77 kB / 0.655 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2569, allocations: 6.125 kB / 0.655 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.2569, allocations: 18.86 kB / 0.655 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2569, allocations: 12.22 kB / 0.655 GB, free: 52.71 MB / 0.5573 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 8.552e-05/0.257, allocations: 196.1 kB / 0.6552 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.257, allocations: 20.91 kB / 0.6552 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.2571, allocations: 18.98 kB / 0.6553 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2571, allocations: 6.625 kB / 0.6553 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2571, allocations: 0 / 0.6553 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2571, allocations: 2.188 kB / 0.6553 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.2575, allocations: 0.5701 MB / 0.6558 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2575, allocations: 4.875 kB / 0.6558 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.2575, allocations: 13.41 kB / 0.6558 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2575, allocations: 7.578 kB / 0.6558 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2576, allocations: 13.16 kB / 0.6559 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2576, allocations: 1.312 kB / 0.6559 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2576, allocations: 1.719 kB / 0.6559 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.2579, allocations: 471.9 kB / 0.6563 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.2579, allocations: 15.06 kB / 0.6563 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2579, allocations: 6.172 kB / 0.6563 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.2579, allocations: 8.578 kB / 0.6563 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.258, allocations: 12.2 kB / 0.6563 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.258, allocations: 7.344 kB / 0.6564 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.157e-05/0.2581, allocations: 131.3 kB / 0.6565 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2581, allocations: 0 / 0.6565 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001974/0.2583, allocations: 33.08 kB / 0.6565 GB, free: 51.63 MB / 0.5573 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.0002062/0.2585, allocations: 131.7 kB / 0.6566 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.2588, allocations: 0.5185 MB / 0.6571 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2588, allocations: 0 / 0.6571 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2589, allocations: 241.1 kB / 0.6574 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.2591, allocations: 30.19 kB / 0.6574 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.2596, allocations: 378.5 kB / 0.6578 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.2596, allocations: 96.72 kB / 0.6579 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.2597, allocations: 18.73 kB / 0.6579 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.2597, allocations: 0 / 0.6579 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of Templates: time 0.003271/0.2629, allocations: 2.241 MB / 0.6601 GB, free: 50.25 MB / 0.5573 GB " [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.454344215802848] Failed to read output from testmodel.py, exit status != 0: 0.26872160099446774 0.27618991899999995 0.021620435 Calling exit ...