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.001359/0.001359, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.001473/0.001473, allocations: 215.1 kB / 22.99 MB, free: 4.973 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.9561/0.9561, allocations: 149.9 MB / 463 MB, free: 10.37 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",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.002117/0.002117, allocations: 67.05 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.171, allocations: 89.17 MB / 0.7281 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003159/0.1741, allocations: 1.624 MB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1753, allocations: 0.6429 MB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.1753, allocations: 0 / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1755, allocations: 27.8 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1757, allocations: 39.77 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.1762, allocations: 123.7 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1765, allocations: 187.6 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1766, allocations: 13.64 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1768, allocations: 103.7 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.177, allocations: 83.72 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.177, allocations: 12 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1771, allocations: 28 kB / 0.731 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.1772, allocations: 31.91 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.1773, allocations: 63.72 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1776, allocations: 179.6 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1776, allocations: 7.922 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1776, allocations: 3.938 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.1776, allocations: 0 / 0.7312 GB, free: 13.88 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.0007972/0.1784, allocations: 0.4886 MB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1784, allocations: 12.03 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.1785, allocations: 38.75 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.1787, allocations: 28.83 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.179, allocations: 178.5 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1791, allocations: 8.375 kB / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.1791, allocations: 12.38 kB / 0.732 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.1794, allocations: 180.9 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1794, allocations: 0 / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1795, allocations: 8 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1795, allocations: 0 / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.1798, allocations: 127.3 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.1805, allocations: 371.6 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.1808, allocations: 141.9 kB / 0.7328 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.181, allocations: 120.2 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.181, allocations: 4 kB / 0.7329 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.1813, allocations: 242.2 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1813, allocations: 0 / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0009068/0.1822, allocations: 479.7 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.1824, allocations: 170.1 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1826, allocations: 179.6 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1827, allocations: 29.7 kB / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1828, allocations: 112.4 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.1828, allocations: 28.03 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.1829, allocations: 41.7 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1831, allocations: 326.8 kB / 0.7344 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.1833, allocations: 174.7 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.1836, allocations: 220.6 kB / 0.7348 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.184, allocations: 312.9 kB / 0.7351 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.184, allocations: 0 / 0.7351 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006699/0.1847, allocations: 471.1 kB / 0.7355 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/0.1848, allocations: 118.8 kB / 0.7357 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1848, allocations: 0 / 0.7357 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1848, allocations: 7.984 kB / 0.7357 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1849, allocations: 12 kB / 0.7357 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1849, allocations: 7.984 kB / 0.7357 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.61e-05/0.185, allocations: 8 kB / 0.7357 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.185, allocations: 8 kB / 0.7357 GB, free: 8.738 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.0001914/0.1852, allocations: 205.1 kB / 0.7359 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1853, allocations: 23.89 kB / 0.7359 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.1853, allocations: 13.41 kB / 0.7359 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1853, allocations: 0 / 0.7359 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1853, allocations: 0 / 0.7359 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1853, allocations: 0 / 0.7359 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008425/0.1862, allocations: 0.6095 MB / 0.7365 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1862, allocations: 0 / 0.7365 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.1862, allocations: 11.98 kB / 0.7365 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1862, allocations: 0 / 0.7365 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1863, allocations: 15.92 kB / 0.7365 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1863, allocations: 0 / 0.7365 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.1863, allocations: 8.094 kB / 0.7366 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.1869, allocations: 466.1 kB / 0.737 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.1869, allocations: 11.91 kB / 0.737 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.187, allocations: 8 kB / 0.737 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1871, allocations: 8 kB / 0.737 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1871, allocations: 11.92 kB / 0.737 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1872, allocations: 11.94 kB / 0.737 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001289/0.1873, allocations: 132.1 kB / 0.7372 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 0 / 0.7372 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003113/0.1876, allocations: 39.94 kB / 0.7372 GB, free: 7.039 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.001204/0.1888, allocations: 1.02 MB / 0.7382 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006648/0.1895, allocations: 0.523 MB / 0.7387 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1895, allocations: 0 / 0.7387 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.1898, allocations: 238.2 kB / 0.7389 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1901, allocations: 30.48 kB / 0.739 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.1934, allocations: 2.624 MB / 0.7415 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.1935, allocations: 93.19 kB / 0.7416 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.818e-05/0.1935, allocations: 24.47 kB / 0.7417 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1936, allocations: 35.42 kB / 0.7417 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of SimCode: time 9.51e-07/0.1936, allocations: 0 / 0.7417 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.2323, allocations: 4.328 MB / 0.7459 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.59, allocations: 8.656 kB / 0.7459 GB, free: 13.88 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 sys.exit(0), Time elapsed: 15.686951564159244] Failed to read output from testmodel.py, exit status != 0: 11.703896841034293 12.028978411 11.550978096 Calling exit ...