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.001378/0.001378, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001465/0.001465, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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.002569/0.002569, allocations: 247.1 kB / 259.4 MB, free: 488 kB / 238.1 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.101/1.101, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 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.543e-06/1.543e-06, allocations: 3.938 kB / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.476e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002739/0.002763, allocations: 1.624 MB / 0.6484 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003922, allocations: 0.6465 MB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.003988, allocations: 3.938 kB / 0.649 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.004126, allocations: 27.73 kB / 0.649 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.004351, allocations: 51.69 kB / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.004821, allocations: 131.6 kB / 0.6492 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.0051, allocations: 187.5 kB / 0.6494 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.005205, allocations: 21.61 kB / 0.6494 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.005445, allocations: 107.8 kB / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.00558, allocations: 75.78 kB / 0.6496 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.005618, allocations: 12 kB / 0.6496 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.005702, allocations: 35.92 kB / 0.6496 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.005788, allocations: 31.91 kB / 0.6497 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.005877, allocations: 51.89 kB / 0.6497 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.006158, allocations: 195.4 kB / 0.6499 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00616, allocations: 0 / 0.6499 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00616, allocations: 4 kB / 0.6499 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.006164, allocations: 0 / 0.6499 GB, free: 1.812 MB / 0.5606 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.0007019/0.006866, allocations: 0.4964 MB / 0.6504 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.006898, allocations: 9.344 kB / 0.6504 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.007075, allocations: 28.83 kB / 0.6504 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.007383, allocations: 169.8 kB / 0.6506 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.007398, allocations: 8.375 kB / 0.6506 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.007432, allocations: 12.38 kB / 0.6506 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.007759, allocations: 177.5 kB / 0.6508 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.007769, allocations: 192 / 0.6508 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.007791, allocations: 12.12 kB / 0.6508 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.007795, allocations: 0 / 0.6508 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.00805, allocations: 127.3 kB / 0.6509 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.008683, allocations: 336.3 kB / 0.6512 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.008927, allocations: 141.9 kB / 0.6514 GB, free: 160 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.009128, allocations: 124.2 kB / 0.6515 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.009148, allocations: 7.938 kB / 0.6515 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2471/0.2563, allocations: 234.3 kB / 0.6517 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.605e-06/0.2563, allocations: 0 / 0.6517 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007751/0.257, allocations: 481.7 kB / 0.6522 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2571, allocations: 165.2 kB / 0.6523 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2572, allocations: 182.6 kB / 0.6525 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2572, allocations: 32.84 kB / 0.6525 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.2573, allocations: 111.3 kB / 0.6526 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2573, allocations: 26.98 kB / 0.6527 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.2574, allocations: 43.45 kB / 0.6527 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.2574, allocations: 327.5 kB / 0.653 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2576, allocations: 160.8 kB / 0.6532 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2577, allocations: 221.2 kB / 0.6534 GB, free: 55.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.258, allocations: 315 kB / 0.6537 GB, free: 55.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.258, allocations: 0 / 0.6537 GB, free: 55.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004639/0.2585, allocations: 472.9 kB / 0.6541 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.2585, allocations: 118.1 kB / 0.6542 GB, free: 55.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2585, allocations: 3.656 kB / 0.6542 GB, free: 55.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.2585, allocations: 0.875 kB / 0.6542 GB, free: 55.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2586, allocations: 20.98 kB / 0.6543 GB, free: 55.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2586, allocations: 5.25 kB / 0.6543 GB, free: 55.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.2587, allocations: 13.23 kB / 0.6543 GB, free: 55.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2588, allocations: 15.06 kB / 0.6543 GB, free: 55.01 MB / 0.5606 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.0001022/0.2589, allocations: 195.1 kB / 0.6545 GB, free: 54.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2589, allocations: 19.06 kB / 0.6545 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.2589, allocations: 19.14 kB / 0.6545 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2589, allocations: 3.625 kB / 0.6545 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2589, allocations: 1.844 kB / 0.6545 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2589, allocations: 2.406 kB / 0.6545 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.2595, allocations: 0.5757 MB / 0.6551 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2595, allocations: 4.406 kB / 0.6551 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.2596, allocations: 13.28 kB / 0.6551 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2596, allocations: 5.094 kB / 0.6551 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.2596, allocations: 10.94 kB / 0.6551 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2596, allocations: 3.625 kB / 0.6551 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2596, allocations: 1.188 kB / 0.6551 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.2601, allocations: 469.5 kB / 0.6556 GB, free: 54.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.2601, allocations: 14.41 kB / 0.6556 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.2601, allocations: 11.09 kB / 0.6556 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2602, allocations: 6.375 kB / 0.6556 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.2603, allocations: 10.42 kB / 0.6556 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.2603, allocations: 9.469 kB / 0.6556 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.2604, allocations: 133.3 kB / 0.6558 GB, free: 54.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2604, allocations: 0 / 0.6558 GB, free: 54.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002873/0.2607, allocations: 36.81 kB / 0.6558 GB, free: 54.04 MB / 0.5606 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.0001988/0.2609, allocations: 128.8 kB / 0.6559 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.2613, allocations: 0.5161 MB / 0.6564 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2613, allocations: 6.438 kB / 0.6564 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.2615, allocations: 242 kB / 0.6567 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2618, allocations: 23.88 kB / 0.6567 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.2623, allocations: 345.7 kB / 0.657 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.792e-05/0.2623, allocations: 95.64 kB / 0.6571 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.707e-05/0.2624, allocations: 19.8 kB / 0.6571 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.2624, allocations: 14.56 kB / 0.6571 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2624, allocations: 0 / 0.6571 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.004997/0.2674, allocations: 2.207 MB / 0.6593 GB, free: 52.69 MB / 0.5606 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.831172350794077] Failed to read output from testmodel.py, exit status != 0: 0.2746133841574192 0.283626152 0.275231506 Calling exit ...