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.001287/0.001287, allocations: 105 kB / 20.48 MB, free: 1.488 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.001414/0.001414, allocations: 215.7 kB / 23.79 MB, free: 4.703 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.473/1.473, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.9606/0.9606, allocations: 150 MB / 464 MB, free: 10.54 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.002039/0.002039, allocations: 70.98 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1915, allocations: 89.17 MB / 0.7291 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.0032/0.1947, allocations: 1.636 MB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1959, allocations: 0.6935 MB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.196, allocations: 4 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1962, allocations: 31.72 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1964, allocations: 43.52 kB / 0.7315 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.1969, allocations: 127.7 kB / 0.7316 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1972, allocations: 183.6 kB / 0.7318 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1973, allocations: 21.64 kB / 0.7318 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.1975, allocations: 95.73 kB / 0.7319 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1977, allocations: 87.72 kB / 0.732 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.1977, allocations: 12 kB / 0.732 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.1978, allocations: 31.98 kB / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.1979, allocations: 31.86 kB / 0.732 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.807e-05/0.198, allocations: 75.64 kB / 0.7321 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1983, allocations: 171.6 kB / 0.7323 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1983, allocations: 4 kB / 0.7323 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1983, allocations: 0 / 0.7323 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1983, allocations: 7.984 kB / 0.7323 GB, free: 14.07 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.0007155/0.199, allocations: 0.4886 MB / 0.7328 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.199, allocations: 8.031 kB / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.825e-05/0.1991, allocations: 8.172 kB / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.1991, allocations: 38.75 kB / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.1993, allocations: 32.81 kB / 0.7328 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1996, allocations: 186.4 kB / 0.733 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1996, allocations: 8.375 kB / 0.733 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1996, allocations: 16.12 kB / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1999, allocations: 121.5 kB / 0.7332 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1999, allocations: 0 / 0.7332 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1999, allocations: 0 / 0.7332 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1999, allocations: 7.938 kB / 0.7332 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2001, allocations: 67.95 kB / 0.7332 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.2008, allocations: 391.5 kB / 0.7336 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.201, allocations: 78.53 kB / 0.7337 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2012, allocations: 68.81 kB / 0.7337 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2012, allocations: 4 kB / 0.7337 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.2015, allocations: 182.9 kB / 0.7339 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.2015, allocations: 0 / 0.7339 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007939/0.2023, allocations: 348.9 kB / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.2024, allocations: 174.1 kB / 0.7344 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.2026, allocations: 179.6 kB / 0.7346 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.2026, allocations: 33.7 kB / 0.7346 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.2027, allocations: 104.4 kB / 0.7347 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.2027, allocations: 35.72 kB / 0.7348 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.2028, allocations: 37.7 kB / 0.7348 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.203, allocations: 330.8 kB / 0.7351 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2031, allocations: 55.95 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.2033, allocations: 102.8 kB / 0.7353 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.2037, allocations: 312.9 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2037, allocations: 0 / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005828/0.2043, allocations: 352.1 kB / 0.7359 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/0.2043, allocations: 114.8 kB / 0.736 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2043, allocations: 4 kB / 0.736 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2044, allocations: 7.938 kB / 0.736 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2045, allocations: 19.98 kB / 0.736 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2045, allocations: 4 kB / 0.736 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.2046, allocations: 11.98 kB / 0.736 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2046, allocations: 12.19 kB / 0.7361 GB, free: 9.789 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.0001864/0.2048, allocations: 201.9 kB / 0.7362 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.2048, allocations: 19.91 kB / 0.7363 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.2049, allocations: 17.67 kB / 0.7363 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2049, allocations: 0 / 0.7363 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2049, allocations: 0 / 0.7363 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2049, allocations: 3.938 kB / 0.7363 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007934/0.2057, allocations: 0.571 MB / 0.7368 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2057, allocations: 0 / 0.7368 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.2057, allocations: 15.98 kB / 0.7369 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2057, allocations: 0 / 0.7369 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.2058, allocations: 8 kB / 0.7369 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2058, allocations: 3.938 kB / 0.7369 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2058, allocations: 0 / 0.7369 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.2064, allocations: 414.7 kB / 0.7373 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.2064, allocations: 11.91 kB / 0.7373 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2064, allocations: 11.98 kB / 0.7373 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2066, allocations: 11.94 kB / 0.7373 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.2066, allocations: 3.984 kB / 0.7373 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2066, allocations: 12 kB / 0.7373 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000114/0.2067, allocations: 132 kB / 0.7374 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2067, allocations: 0 / 0.7374 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003007/0.207, allocations: 39.94 kB / 0.7375 GB, free: 8.211 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.001048/0.2081, allocations: 0.9596 MB / 0.7384 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005487/0.2086, allocations: 353.4 kB / 0.7388 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2086, allocations: 4 kB / 0.7388 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.2089, allocations: 178.8 kB / 0.7389 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2092, allocations: 27.92 kB / 0.739 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.212, allocations: 2.125 MB / 0.741 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.2123, allocations: 0.708 MB / 0.7417 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.859e-05/0.2124, allocations: 20.47 kB / 0.7417 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.2125, allocations: 39.42 kB / 0.7418 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2125, allocations: 3.938 kB / 0.7418 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.2375, allocations: 3.869 MB / 0.7456 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.69, allocations: 6.688 kB / 0.7456 GB, free: 15.84 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.508977486984804] Failed to read output from testmodel.py, exit status != 0: 11.857704791997094 11.87535896 11.67371007 Calling exit ...