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.001345/0.001345, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001383/0.001383, allocations: 219.6 kB / 23 MB, free: 5.004 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9632/0.9632, allocations: 150 MB / 463.2 MB, free: 10.46 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.002127/0.002127, allocations: 66.33 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1852, allocations: 89.15 MB / 0.7283 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003474/0.1887, allocations: 1.664 MB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.19, allocations: 0.6857 MB / 0.7306 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.1901, allocations: 11.88 kB / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1902, allocations: 15.86 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.1905, allocations: 52.84 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.191, allocations: 123.7 kB / 0.7308 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1914, allocations: 187.6 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1915, allocations: 17.62 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1917, allocations: 95.75 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1919, allocations: 83.72 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.192, allocations: 16 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1921, allocations: 31.98 kB / 0.7312 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.1921, allocations: 31.84 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1923, allocations: 79.66 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.1926, allocations: 179.5 kB / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1926, allocations: 0 / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1926, allocations: 0 / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1926, allocations: 0 / 0.7315 GB, free: 13.94 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.0007782/0.1934, allocations: 496.4 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1934, allocations: 12.03 kB / 0.732 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.1935, allocations: 34.75 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.1936, allocations: 28.83 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.194, allocations: 190.4 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.194, allocations: 8.375 kB / 0.7323 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.194, allocations: 12.38 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1943, allocations: 117.5 kB / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1943, allocations: 0 / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1944, allocations: 8 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1944, allocations: 0 / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.1946, allocations: 75.88 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.1953, allocations: 395.5 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1955, allocations: 74.53 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1957, allocations: 68.81 kB / 0.733 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1957, allocations: 7.984 kB / 0.733 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.196, allocations: 174.9 kB / 0.7331 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.562e-06/0.196, allocations: 0 / 0.7331 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0008091/0.1968, allocations: 364.8 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.1969, allocations: 166.2 kB / 0.7336 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1971, allocations: 179.6 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1971, allocations: 33.7 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.1972, allocations: 108.4 kB / 0.734 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1973, allocations: 27.75 kB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.1973, allocations: 37.7 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1975, allocations: 330.8 kB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1977, allocations: 59.97 kB / 0.7344 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1978, allocations: 102.8 kB / 0.7345 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.1982, allocations: 312.9 kB / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1982, allocations: 0 / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000586/0.1988, allocations: 356.1 kB / 0.7351 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.1989, allocations: 122.8 kB / 0.7352 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1989, allocations: 0 / 0.7352 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1989, allocations: 7.938 kB / 0.7353 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1991, allocations: 15.98 kB / 0.7353 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1991, allocations: 4 kB / 0.7353 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1992, allocations: 20.19 kB / 0.7353 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.1992, allocations: 11.98 kB / 0.7353 GB, free: 9.652 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.0001881/0.1994, allocations: 203.9 kB / 0.7355 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1994, allocations: 15.91 kB / 0.7355 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.1995, allocations: 13.41 kB / 0.7355 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1995, allocations: 0 / 0.7355 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1995, allocations: 4.281 kB / 0.7355 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1995, allocations: 3.984 kB / 0.7355 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.2003, allocations: 0.5632 MB / 0.7361 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2003, allocations: 0 / 0.7361 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.2004, allocations: 11.98 kB / 0.7361 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.2004, allocations: 4 kB / 0.7361 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.2004, allocations: 8 kB / 0.7361 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.2004, allocations: 3.984 kB / 0.7361 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2004, allocations: 3.938 kB / 0.7361 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.201, allocations: 410.7 kB / 0.7365 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.2011, allocations: 11.91 kB / 0.7365 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.2011, allocations: 4 kB / 0.7365 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2012, allocations: 12 kB / 0.7365 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.2013, allocations: 11.92 kB / 0.7365 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.2013, allocations: 11.98 kB / 0.7366 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000121/0.2014, allocations: 128 kB / 0.7367 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2014, allocations: 0 / 0.7367 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003136/0.2017, allocations: 43.94 kB / 0.7367 GB, free: 8.086 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.001051/0.2028, allocations: 0.9553 MB / 0.7377 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005482/0.2033, allocations: 361.4 kB / 0.738 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2033, allocations: 0 / 0.738 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.2036, allocations: 182.7 kB / 0.7382 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2039, allocations: 25.25 kB / 0.7382 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.2068, allocations: 2.125 MB / 0.7403 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.2072, allocations: 0.7119 MB / 0.741 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.363e-05/0.2073, allocations: 20.47 kB / 0.741 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.2073, allocations: 35.42 kB / 0.741 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2073, allocations: 4 kB / 0.741 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.2381, allocations: 3.841 MB / 0.7448 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.42, allocations: 3.188 kB / 0.7448 GB, free: 15.73 MB / 0.5762 GB " [Timeout remaining time 646] (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: 18.106930535985157] Failed to read output from testmodel.py, exit status != 0: 13.725001372164115 13.74282378 13.547052593 Calling exit ...