Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001812/0.001812, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.002199/0.002199, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.058/3.058, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001927/0.001927, allocations: 63.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003783/1.015, allocations: 1.645 MB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001194/1.016, allocations: 0.6898 MB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/1.017, allocations: 5.188 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001982/1.017, allocations: 17.56 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002566/1.017, allocations: 49.08 kB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/1.017, allocations: 120.5 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/1.018, allocations: 186.1 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/1.018, allocations: 17.31 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/1.018, allocations: 95.08 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/1.018, allocations: 88.47 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/1.018, allocations: 17.34 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/1.018, allocations: 33.2 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/1.018, allocations: 35.69 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/1.019, allocations: 72.45 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/1.019, allocations: 170.6 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.019, allocations: 5.828 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.534e-06/1.019, allocations: 0 / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.019, allocations: 0 / 1.343 GB, free: 14.2 MB / 1.061 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.0007686/1.02, allocations: 0.5626 MB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.02, allocations: 13.28 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.508e-05/1.02, allocations: 2.531 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/1.02, allocations: 39.31 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/1.02, allocations: 28.47 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/1.02, allocations: 247.7 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.02, allocations: 11.03 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/1.02, allocations: 15.22 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/1.021, allocations: 112.4 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.021, allocations: 0 / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/1.021, allocations: 2.406 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.021, allocations: 1.734 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/1.021, allocations: 72.22 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/1.022, allocations: 419.1 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/1.022, allocations: 81.77 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/1.022, allocations: 66.39 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/1.022, allocations: 1.812 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/1.022, allocations: 178.7 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/1.022, allocations: 0 / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0008472/1.023, allocations: 358.8 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/1.023, allocations: 167.9 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/1.023, allocations: 175.6 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/1.023, allocations: 41.77 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/1.023, allocations: 111.9 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/1.023, allocations: 22.47 kB / 1.346 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/1.024, allocations: 41.95 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/1.024, allocations: 331.7 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/1.024, allocations: 50.86 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/1.024, allocations: 105 kB / 1.346 GB, free: 11.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/1.024, allocations: 309.1 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.024, allocations: 1.375 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004911/1.025, allocations: 358.6 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/1.025, allocations: 116.1 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.025, allocations: 3.359 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.025, allocations: 2.906 kB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/1.025, allocations: 23.09 kB / 1.347 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.025, allocations: 4.141 kB / 1.347 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/1.025, allocations: 18.72 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/1.025, allocations: 12.14 kB / 1.347 GB, free: 11 MB / 1.061 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.0001251/1.025, allocations: 197.6 kB / 1.347 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/1.025, allocations: 21.22 kB / 1.347 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/1.025, allocations: 15.05 kB / 1.347 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.025, allocations: 5.094 kB / 1.347 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.025, allocations: 2 kB / 1.347 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.025, allocations: 0.75 kB / 1.347 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/1.026, allocations: 0.5873 MB / 1.348 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.026, allocations: 9.094 kB / 1.348 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/1.026, allocations: 10.98 kB / 1.348 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.026, allocations: 1.188 kB / 1.348 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/1.026, allocations: 6.016 kB / 1.348 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.026, allocations: 6.641 kB / 1.348 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.026, allocations: 4 kB / 1.348 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/1.027, allocations: 411.5 kB / 1.348 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/1.027, allocations: 92.48 kB / 1.349 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/1.027, allocations: 9.75 kB / 1.349 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.027, allocations: 10.98 kB / 1.349 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/1.027, allocations: 10.48 kB / 1.349 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/1.027, allocations: 11.23 kB / 1.349 GB, free: 9.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.567e-05/1.027, allocations: 131.7 kB / 1.349 GB, free: 9.852 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.027, allocations: 0 / 1.349 GB, free: 9.852 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000306/1.027, allocations: 34.88 kB / 1.349 GB, free: 9.848 MB / 1.061 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.0008642/1.028, allocations: 0.9645 MB / 1.35 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004747/1.029, allocations: 357.9 kB / 1.35 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.029, allocations: 0 / 1.35 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/1.029, allocations: 182.3 kB / 1.35 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/1.029, allocations: 30.89 kB / 1.35 GB, free: 8.598 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/1.031, allocations: 2.134 MB / 1.352 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/1.032, allocations: 0.7108 MB / 1.353 GB, free: 6.223 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.819e-05/1.032, allocations: 23.55 kB / 1.353 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/1.032, allocations: 37.47 kB / 1.353 GB, free: 6.191 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.032, allocations: 1.219 kB / 1.353 GB, free: 6.191 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/1.054, allocations: 3.728 MB / 1.357 GB, free: 5.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.792/9.846, allocations: 10.81 kB / 1.357 GB, free: 5.516 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.49449797195848] Failed to read output from testmodel.py, exit status != 0: 9.97550764697371 9.996579919 8.973119954 Calling exit ...