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.001256/0.001256, allocations: 78.73 kB / 19.01 MB, free: 2.863 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.001471/0.001471, allocations: 160.6 kB / 22.26 MB, free: 5.113 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.508/1.508, allocations: 177.2 MB / 202.6 MB, free: 9.262 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.002467/0.002467, allocations: 231 kB / 259.2 MB, free: 0.582 MB / 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.111/1.111, allocations: 138.5 MB / 454.2 MB, free: 2.02 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003041/0.003041, allocations: 111.8 kB / 0.6466 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3749, allocations: 95.34 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002978/0.3779, allocations: 1.63 MB / 0.7413 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.379, allocations: 0.6351 MB / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.3791, allocations: 7.938 kB / 0.7419 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.3792, allocations: 23.8 kB / 0.7419 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.3794, allocations: 43.75 kB / 0.742 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.3799, allocations: 127.7 kB / 0.7421 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.3801, allocations: 187.6 kB / 0.7423 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3802, allocations: 21.56 kB / 0.7423 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.3805, allocations: 119.8 kB / 0.7424 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3806, allocations: 83.66 kB / 0.7425 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.3807, allocations: 12 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.3808, allocations: 31.98 kB / 0.7425 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.3808, allocations: 31.84 kB / 0.7426 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.735e-05/0.3809, allocations: 63.77 kB / 0.7426 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3812, allocations: 172.5 kB / 0.7428 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.3812, allocations: 4 kB / 0.7428 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3812, allocations: 0 / 0.7428 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3812, allocations: 0 / 0.7428 GB, free: 12.01 MB / 0.5762 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.0007219/0.3819, allocations: 0.508 MB / 0.7433 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.382, allocations: 9.344 kB / 0.7433 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.3821, allocations: 24.88 kB / 0.7433 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3825, allocations: 178.4 kB / 0.7435 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3825, allocations: 12.38 kB / 0.7435 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.3825, allocations: 16.38 kB / 0.7435 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3828, allocations: 177.1 kB / 0.7437 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3829, allocations: 4 kB / 0.7437 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3829, allocations: 4 kB / 0.7437 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3829, allocations: 4 kB / 0.7437 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.3831, allocations: 127.3 kB / 0.7438 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.3838, allocations: 336.3 kB / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.384, allocations: 146 kB / 0.7443 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.3842, allocations: 124.2 kB / 0.7444 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3843, allocations: 3.984 kB / 0.7444 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003279/0.3846, allocations: 238.3 kB / 0.7446 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3846, allocations: 0 / 0.7446 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000901/0.3855, allocations: 487.5 kB / 0.7451 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3856, allocations: 170.2 kB / 0.7453 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3858, allocations: 175.6 kB / 0.7454 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3858, allocations: 33.7 kB / 0.7455 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3859, allocations: 112.3 kB / 0.7456 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.386, allocations: 23.8 kB / 0.7456 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.3861, allocations: 41.7 kB / 0.7456 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3862, allocations: 334.8 kB / 0.746 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3864, allocations: 159 kB / 0.7461 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.3867, allocations: 225.2 kB / 0.7463 GB, free: 8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3871, allocations: 309 kB / 0.7466 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3871, allocations: 3.938 kB / 0.7466 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006829/0.3878, allocations: 466.9 kB / 0.7471 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/0.3879, allocations: 118.8 kB / 0.7472 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3879, allocations: 4 kB / 0.7472 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3879, allocations: 4 kB / 0.7472 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.388, allocations: 19.92 kB / 0.7472 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.388, allocations: 0 / 0.7472 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3881, allocations: 24.14 kB / 0.7472 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.3882, allocations: 12 kB / 0.7472 GB, free: 6.918 MB / 0.5762 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.0001772/0.3883, allocations: 193.2 kB / 0.7474 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3884, allocations: 19.91 kB / 0.7474 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.3884, allocations: 17.47 kB / 0.7475 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3884, allocations: 0 / 0.7475 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3884, allocations: 0 / 0.7475 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3884, allocations: 0 / 0.7475 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.3892, allocations: 0.5788 MB / 0.748 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3892, allocations: 4 kB / 0.748 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.3893, allocations: 19.92 kB / 0.748 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3893, allocations: 0 / 0.748 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3893, allocations: 4 kB / 0.748 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3893, allocations: 4 kB / 0.7481 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3893, allocations: 0 / 0.7481 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.39, allocations: 474.1 kB / 0.7485 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.39, allocations: 19.78 kB / 0.7485 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3901, allocations: 7.984 kB / 0.7485 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3902, allocations: 12 kB / 0.7485 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3902, allocations: 7.984 kB / 0.7486 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3902, allocations: 4 kB / 0.7486 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001227/0.3904, allocations: 133.2 kB / 0.7487 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3904, allocations: 4 kB / 0.7487 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003062/0.3907, allocations: 39.88 kB / 0.7487 GB, free: 5.273 MB / 0.5762 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.0002285/0.3909, allocations: 122.9 kB / 0.7488 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006723/0.3916, allocations: 0.5269 MB / 0.7494 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3916, allocations: 0 / 0.7494 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.3919, allocations: 238.7 kB / 0.7496 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3922, allocations: 23.94 kB / 0.7496 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.3929, allocations: 351.5 kB / 0.7499 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.393, allocations: 93.25 kB / 0.75 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.56e-05/0.3931, allocations: 24.45 kB / 0.7501 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.3931, allocations: 24.44 kB / 0.7501 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.3931, allocations: 0 / 0.7501 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of Templates: time 0.005992/0.3991, allocations: 2.179 MB / 0.7522 GB, free: 1.574 MB / 0.5762 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: 6.1157445423305035] Failed to read output from testmodel.py, exit status != 0: 0.4072733372449875 0.422272543 0.037910857 Calling exit ...