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.0009105/0.0009105, 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.0009008/0.0009008, allocations: 165 kB / 23.02 MB, free: 1.547 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.9675/0.9675, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001786/0.001786, allocations: 226.2 kB / 260.2 MB, free: 12.81 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.7978/0.7978, allocations: 138.4 MB / 455.2 MB, free: 30.03 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.593e-06/1.593e-06, allocations: 0 / 0.5551 GB, free: 172 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.006e-05, allocations: 6.25 kB / 0.5551 GB, free: 164 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003369/0.003399, allocations: 1.673 MB / 0.5567 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.004665, allocations: 0.6736 MB / 0.5574 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.00477, allocations: 3.938 kB / 0.5574 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.004962, allocations: 19.86 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.005237, allocations: 43.7 kB / 0.5574 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.005721, allocations: 127.6 kB / 0.5576 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.006016, allocations: 191.5 kB / 0.5577 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.006144, allocations: 13.64 kB / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.006447, allocations: 119.8 kB / 0.5579 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006593, allocations: 79.77 kB / 0.558 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.006633, allocations: 16 kB / 0.558 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.006735, allocations: 31.94 kB / 0.558 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.006831, allocations: 27.91 kB / 0.558 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.006919, allocations: 55.89 kB / 0.5581 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.007224, allocations: 147.6 kB / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.007228, allocations: 0 / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.007229, allocations: 0 / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.007235, allocations: 0 / 0.5582 GB, free: 12.93 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.00075/0.007985, allocations: 0.5962 MB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.008028, allocations: 9.938 kB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.008222, allocations: 36.84 kB / 0.5588 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.008534, allocations: 189.3 kB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.008551, allocations: 4.375 kB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.008585, allocations: 24.34 kB / 0.5591 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.008855, allocations: 162.2 kB / 0.5592 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.008868, allocations: 192 / 0.5592 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.008887, allocations: 12.12 kB / 0.5592 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.008897, allocations: 4 kB / 0.5592 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.009014, allocations: 91.36 kB / 0.5593 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.009607, allocations: 387.6 kB / 0.5597 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.009763, allocations: 114.4 kB / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.009872, allocations: 103.1 kB / 0.5599 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.009899, allocations: 3.938 kB / 0.5599 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.01012, allocations: 223.8 kB / 0.5601 GB, free: 10.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.01012, allocations: 3.938 kB / 0.5601 GB, free: 10.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005886/0.01071, allocations: 427.8 kB / 0.5605 GB, free: 10.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.01079, allocations: 166.1 kB / 0.5607 GB, free: 10.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.01097, allocations: 238.5 kB / 0.5609 GB, free: 9.848 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.01099, allocations: 29.7 kB / 0.5609 GB, free: 9.812 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.01107, allocations: 159.1 kB / 0.5611 GB, free: 9.648 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.01111, allocations: 27.8 kB / 0.5611 GB, free: 9.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.01118, allocations: 39.38 kB / 0.5611 GB, free: 9.574 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.01135, allocations: 0.5001 MB / 0.5616 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.01149, allocations: 138.8 kB / 0.5618 GB, free: 8.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.01167, allocations: 208.3 kB / 0.562 GB, free: 8.641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.01193, allocations: 303.6 kB / 0.5623 GB, free: 8.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01193, allocations: 0 / 0.5623 GB, free: 8.273 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004715/0.01241, allocations: 427 kB / 0.5627 GB, free: 7.801 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/0.01249, allocations: 118.8 kB / 0.5628 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.01249, allocations: 0 / 0.5628 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.01252, allocations: 4 kB / 0.5628 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01262, allocations: 15.98 kB / 0.5628 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01263, allocations: 4 kB / 0.5628 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.01271, allocations: 15.94 kB / 0.5628 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.01273, allocations: 8 kB / 0.5628 GB, free: 7.613 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.0001415/0.01287, allocations: 232.1 kB / 0.563 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.01292, allocations: 31.84 kB / 0.5631 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.01296, allocations: 17.45 kB / 0.5631 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01296, allocations: 0 / 0.5631 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01297, allocations: 4 kB / 0.5631 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01297, allocations: 0 / 0.5631 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.01356, allocations: 0.5976 MB / 0.5637 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01357, allocations: 4 kB / 0.5637 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.01361, allocations: 4 kB / 0.5637 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01362, allocations: 7.938 kB / 0.5637 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.01364, allocations: 7.984 kB / 0.5637 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01364, allocations: 7.938 kB / 0.5637 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01365, allocations: 4 kB / 0.5637 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.01411, allocations: 478.5 kB / 0.5642 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.01413, allocations: 11.91 kB / 0.5642 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.01417, allocations: 4 kB / 0.5642 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.01425, allocations: 4 kB / 0.5642 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.01431, allocations: 15.97 kB / 0.5642 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.01432, allocations: 11.98 kB / 0.5642 GB, free: 6.051 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.01443, allocations: 169 kB / 0.5644 GB, free: 5.887 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01443, allocations: 0 / 0.5644 GB, free: 5.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.01475, allocations: 32 kB / 0.5644 GB, free: 5.855 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.000266/0.01502, allocations: 132.7 kB / 0.5645 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.01544, allocations: 487.8 kB / 0.565 GB, free: 5.156 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01544, allocations: 4.062 kB / 0.565 GB, free: 5.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.01562, allocations: 237.7 kB / 0.5652 GB, free: 4.879 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01593, allocations: 31.88 kB / 0.5653 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.01677, allocations: 344.6 kB / 0.5656 GB, free: 4.473 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.434e-05/0.01683, allocations: 67.33 kB / 0.5657 GB, free: 4.387 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.921e-05/0.01691, allocations: 24.47 kB / 0.5657 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.01695, allocations: 12.5 kB / 0.5657 GB, free: 4.352 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01695, allocations: 7.938 kB / 0.5657 GB, free: 4.344 MB / 490.7 MB Notification: Performance of Templates: time 0.005701/0.02265, allocations: 2.209 MB / 0.5678 GB, free: 2.203 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.856734415050596]