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.001314/0.001314, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001451/0.001451, allocations: 173 kB / 23.49 MB, free: 1.059 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.9195/0.9195, allocations: 177.1 MB / 203.8 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.002099/0.002099, allocations: 229.8 kB / 260.5 MB, free: 12.89 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.783/0.783, allocations: 138.4 MB / 455.4 MB, free: 1.535 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.843e-06/1.843e-06, allocations: 0 / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.048e-05, allocations: 6.109 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003238/0.003268, allocations: 1.669 MB / 0.5567 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.004466, allocations: 0.6659 MB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004591, allocations: 3.938 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.004829, allocations: 19.8 kB / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.005116, allocations: 39.77 kB / 0.5574 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.005646, allocations: 131.6 kB / 0.5575 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.005972, allocations: 191.5 kB / 0.5577 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.006107, allocations: 17.58 kB / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.006397, allocations: 119.8 kB / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.006543, allocations: 71.83 kB / 0.5579 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.006584, allocations: 16 kB / 0.5579 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.00668, allocations: 27.94 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.006787, allocations: 31.84 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.006883, allocations: 59.89 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.00718, allocations: 159.5 kB / 0.5582 GB, free: 13.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007184, allocations: 0 / 0.5582 GB, free: 13.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007185, allocations: 0 / 0.5582 GB, free: 13.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.007191, allocations: 0 / 0.5582 GB, free: 13.67 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.0007564/0.007948, allocations: 0.5807 MB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.007998, allocations: 8.75 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.008228, allocations: 36.84 kB / 0.5588 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.008565, allocations: 188.4 kB / 0.5589 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.008587, allocations: 12.38 kB / 0.559 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.008621, allocations: 20.36 kB / 0.559 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.008921, allocations: 162.2 kB / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.008931, allocations: 192 / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.008951, allocations: 8.125 kB / 0.5591 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.008961, allocations: 0 / 0.5591 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.009093, allocations: 95.36 kB / 0.5592 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.009707, allocations: 387.5 kB / 0.5596 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.009881, allocations: 122.4 kB / 0.5597 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.01001, allocations: 107.1 kB / 0.5598 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.01003, allocations: 3.938 kB / 0.5598 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.01028, allocations: 223.8 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.01028, allocations: 0 / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006901/0.01098, allocations: 420.1 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.01107, allocations: 166.2 kB / 0.5606 GB, free: 10.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.01127, allocations: 230.6 kB / 0.5608 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.0113, allocations: 33.7 kB / 0.5608 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.01138, allocations: 155.1 kB / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.01142, allocations: 27.8 kB / 0.561 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.01149, allocations: 39.38 kB / 0.5611 GB, free: 10.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.01167, allocations: 0.504 MB / 0.5616 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.0118, allocations: 142.8 kB / 0.5617 GB, free: 9.656 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.01199, allocations: 212.3 kB / 0.5619 GB, free: 9.391 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.01222, allocations: 291.6 kB / 0.5622 GB, free: 9.035 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.01223, allocations: 11.94 kB / 0.5622 GB, free: 9.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005122/0.01274, allocations: 422.9 kB / 0.5626 GB, free: 8.555 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.01281, allocations: 118.8 kB / 0.5627 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01282, allocations: 0 / 0.5627 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.01284, allocations: 4 kB / 0.5627 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.01296, allocations: 23.92 kB / 0.5627 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.01297, allocations: 4.25 kB / 0.5627 GB, free: 8.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.01306, allocations: 15.94 kB / 0.5627 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.01308, allocations: 8 kB / 0.5627 GB, free: 8.359 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.0001738/0.01326, allocations: 228 kB / 0.563 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.01331, allocations: 27.84 kB / 0.563 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.01335, allocations: 21.45 kB / 0.563 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01336, allocations: 3.938 kB / 0.563 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.01337, allocations: 4 kB / 0.563 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.01337, allocations: 4 kB / 0.563 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.01431, allocations: 0.5937 MB / 0.5636 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01432, allocations: 7.938 kB / 0.5636 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/0.01441, allocations: 8 kB / 0.5636 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.01442, allocations: 3.984 kB / 0.5636 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.01446, allocations: 15.98 kB / 0.5636 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01446, allocations: 0 / 0.5636 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01446, allocations: 160 / 0.5636 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.0148, allocations: 486.5 kB / 0.5641 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.01481, allocations: 11.91 kB / 0.5641 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.01484, allocations: 7.938 kB / 0.5641 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.0149, allocations: 8 kB / 0.5641 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.01495, allocations: 7.984 kB / 0.5641 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.01496, allocations: 19.98 kB / 0.5642 GB, free: 6.785 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.893e-05/0.01504, allocations: 165.1 kB / 0.5643 GB, free: 6.625 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01504, allocations: 0 / 0.5643 GB, free: 6.625 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000211/0.01525, allocations: 32 kB / 0.5643 GB, free: 6.594 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.0002355/0.01549, allocations: 135.5 kB / 0.5645 GB, free: 6.461 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.01582, allocations: 495.3 kB / 0.5649 GB, free: 5.887 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01582, allocations: 0 / 0.5649 GB, free: 5.887 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.01595, allocations: 225.9 kB / 0.5652 GB, free: 5.625 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.01618, allocations: 31.92 kB / 0.5652 GB, free: 5.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.01686, allocations: 349 kB / 0.5655 GB, free: 5.211 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.01691, allocations: 67.33 kB / 0.5656 GB, free: 5.125 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.01695, allocations: 24.41 kB / 0.5656 GB, free: 5.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.01698, allocations: 16.5 kB / 0.5656 GB, free: 5.086 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01699, allocations: 0 / 0.5656 GB, free: 5.086 MB / 490.7 MB Notification: Performance of Templates: time 0.004003/0.02099, allocations: 2.211 MB / 0.5678 GB, free: 2.918 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.627379165031016]