Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001469/0.001469, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001451/0.001451, allocations: 212.6 kB / 23.78 MB, free: 4.555 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9929/0.9929, allocations: 150 MB / 463.9 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002221/0.002221, allocations: 65.84 kB / 0.6419 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1783, allocations: 89.18 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.00348/0.1818, allocations: 1.609 MB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1831, allocations: 0.6429 MB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1832, allocations: 7.938 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1834, allocations: 19.84 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.1836, allocations: 51.69 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.1842, allocations: 127.7 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1845, allocations: 179.6 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1846, allocations: 29.55 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1849, allocations: 91.81 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1851, allocations: 87.66 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.1851, allocations: 16 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.1852, allocations: 28 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1853, allocations: 31.84 kB / 0.7319 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1854, allocations: 71.7 kB / 0.7319 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1857, allocations: 171.6 kB / 0.7321 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1857, allocations: 0 / 0.7321 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1857, allocations: 0 / 0.7321 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1857, allocations: 4 kB / 0.7321 GB, free: 13.68 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.0007798/0.1865, allocations: 496.4 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1865, allocations: 12.03 kB / 0.7326 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.933e-05/0.1865, allocations: 4.188 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1866, allocations: 34.75 kB / 0.7326 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.1868, allocations: 32.83 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.1872, allocations: 190.3 kB / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1872, allocations: 8.375 kB / 0.7329 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.1872, allocations: 20.12 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1876, allocations: 169 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1876, allocations: 0 / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1876, allocations: 4 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1876, allocations: 0 / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.1879, allocations: 135.3 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.1886, allocations: 359.7 kB / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.1888, allocations: 149.9 kB / 0.7337 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.189, allocations: 124.2 kB / 0.7338 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.189, allocations: 0 / 0.7338 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.1894, allocations: 234.1 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1894, allocations: 0 / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0008975/0.1903, allocations: 483.5 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1904, allocations: 170.2 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1906, allocations: 179.6 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1906, allocations: 29.7 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.1907, allocations: 108.5 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.1907, allocations: 35.72 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.1908, allocations: 37.7 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.191, allocations: 330.8 kB / 0.7353 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.1912, allocations: 166.8 kB / 0.7355 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.1914, allocations: 213.6 kB / 0.7357 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.1918, allocations: 313 kB / 0.736 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1918, allocations: 0 / 0.736 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006668/0.1925, allocations: 466.9 kB / 0.7364 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/0.1926, allocations: 118.8 kB / 0.7365 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1926, allocations: 4 kB / 0.7365 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1926, allocations: 3.938 kB / 0.7365 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1927, allocations: 19.97 kB / 0.7366 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1927, allocations: 7.938 kB / 0.7366 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1928, allocations: 20.2 kB / 0.7366 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1929, allocations: 15.92 kB / 0.7366 GB, free: 8.516 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.0001835/0.193, allocations: 195.1 kB / 0.7368 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.1931, allocations: 19.91 kB / 0.7368 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1931, allocations: 13.41 kB / 0.7368 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1931, allocations: 4 kB / 0.7368 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1931, allocations: 3.984 kB / 0.7368 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1931, allocations: 0 / 0.7368 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.194, allocations: 0.5979 MB / 0.7374 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.194, allocations: 4 kB / 0.7374 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.194, allocations: 11.94 kB / 0.7374 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.194, allocations: 0 / 0.7374 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1941, allocations: 20.27 kB / 0.7374 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1941, allocations: 3.938 kB / 0.7374 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1941, allocations: 0 / 0.7374 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.1947, allocations: 470.1 kB / 0.7379 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.1948, allocations: 11.91 kB / 0.7379 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1948, allocations: 4 kB / 0.7379 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1949, allocations: 23.86 kB / 0.7379 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.195, allocations: 4 kB / 0.7379 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.195, allocations: 11.98 kB / 0.7379 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001296/0.1951, allocations: 132 kB / 0.7381 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1951, allocations: 0 / 0.7381 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003203/0.1954, allocations: 43.92 kB / 0.7381 GB, free: 6.82 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.001146/0.1966, allocations: 1.012 MB / 0.7391 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006868/0.1973, allocations: 0.5192 MB / 0.7396 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1973, allocations: 0 / 0.7396 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.1976, allocations: 242.6 kB / 0.7398 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1979, allocations: 27.92 kB / 0.7399 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.2012, allocations: 2.619 MB / 0.7424 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2014, allocations: 101.2 kB / 0.7425 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.2014, allocations: 20.56 kB / 0.7425 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.2015, allocations: 39.36 kB / 0.7426 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.2015, allocations: 0 / 0.7426 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.2276, allocations: 3.977 MB / 0.7465 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.9, allocations: 13.28 kB / 0.7465 GB, free: 14.01 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.706031517940573] Failed to read output from testmodel.py, exit status != 0: 12.072927315020934 12.0885224 11.899576789 Calling exit ...