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.00135/0.00135, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001527/0.001527, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.551/1.551, allocations: 230.6 MB / 254.2 MB, free: 15.08 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 1.017/1.017, allocations: 150 MB / 460.2 MB, free: 5.305 MB / 350.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.002006/0.002006, allocations: 68.81 kB / 0.6368 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1565, allocations: 89.13 MB / 0.7238 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.00306/0.1595, allocations: 1.63 MB / 0.7254 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1608, allocations: 0.6934 MB / 0.7261 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.1609, allocations: 0 / 0.7261 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1611, allocations: 23.8 kB / 0.7261 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.1614, allocations: 47.69 kB / 0.7262 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.1619, allocations: 123.7 kB / 0.7263 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.1622, allocations: 187.6 kB / 0.7265 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1623, allocations: 21.45 kB / 0.7265 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1626, allocations: 95.73 kB / 0.7266 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1627, allocations: 87.66 kB / 0.7267 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.1627, allocations: 12 kB / 0.7267 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.1628, allocations: 28 kB / 0.7267 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.1629, allocations: 27.92 kB / 0.7267 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.163, allocations: 79.64 kB / 0.7268 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1633, allocations: 179.6 kB / 0.727 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1633, allocations: 0 / 0.727 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1633, allocations: 0 / 0.727 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1633, allocations: 0 / 0.727 GB, free: 0.8984 MB / 0.5294 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.0007914/0.1641, allocations: 0.5601 MB / 0.7275 GB, free: 272 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1641, allocations: 11.97 kB / 0.7275 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.27e-05/0.1642, allocations: 192 / 0.7275 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.1642, allocations: 42.75 kB / 0.7276 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1644, allocations: 32.77 kB / 0.7276 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.1647, allocations: 236.3 kB / 0.7278 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1647, allocations: 8.375 kB / 0.7278 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.1648, allocations: 20.11 kB / 0.7279 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.1651, allocations: 109.6 kB / 0.728 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1651, allocations: 3.938 kB / 0.728 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1651, allocations: 4 kB / 0.728 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1651, allocations: 4 kB / 0.728 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.1653, allocations: 67.94 kB / 0.728 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.166, allocations: 424.5 kB / 0.7284 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1663, allocations: 82.53 kB / 0.7285 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.1664, allocations: 64.83 kB / 0.7286 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1664, allocations: 3.984 kB / 0.7286 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.1667, allocations: 174.7 kB / 0.7288 GB, free: 14.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.1667, allocations: 0 / 0.7288 GB, free: 14.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0008635/0.1676, allocations: 365 kB / 0.7291 GB, free: 14.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.1677, allocations: 170.2 kB / 0.7293 GB, free: 14.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1679, allocations: 168.4 kB / 0.7294 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.168, allocations: 37.69 kB / 0.7295 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.168, allocations: 104.4 kB / 0.7296 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1681, allocations: 31.73 kB / 0.7296 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.1682, allocations: 41.64 kB / 0.7296 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1683, allocations: 338.7 kB / 0.73 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1685, allocations: 51.95 kB / 0.73 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1687, allocations: 102.8 kB / 0.7301 GB, free: 13.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.1691, allocations: 308.9 kB / 0.7304 GB, free: 13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1691, allocations: 4 kB / 0.7304 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006065/0.1697, allocations: 348.2 kB / 0.7307 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.116e-05/0.1698, allocations: 114.8 kB / 0.7308 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1698, allocations: 4 kB / 0.7309 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1698, allocations: 4 kB / 0.7309 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1699, allocations: 28.17 kB / 0.7309 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1699, allocations: 4 kB / 0.7309 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1701, allocations: 19.94 kB / 0.7309 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.1701, allocations: 11.94 kB / 0.7309 GB, free: 12.42 MB / 0.545 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.0001929/0.1703, allocations: 200.4 kB / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.1703, allocations: 23.89 kB / 0.7311 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.1704, allocations: 17.39 kB / 0.7311 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1704, allocations: 0 / 0.7311 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1704, allocations: 4 kB / 0.7311 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1704, allocations: 0 / 0.7311 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008501/0.1712, allocations: 0.5915 MB / 0.7317 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1712, allocations: 0 / 0.7317 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.1713, allocations: 11.98 kB / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1713, allocations: 288 / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.1713, allocations: 7.984 kB / 0.7317 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.1713, allocations: 7.938 kB / 0.7318 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1713, allocations: 3.938 kB / 0.7318 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.172, allocations: 410.6 kB / 0.7321 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.172, allocations: 93 kB / 0.7322 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.1721, allocations: 8 kB / 0.7322 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1722, allocations: 7.938 kB / 0.7323 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1722, allocations: 7.984 kB / 0.7323 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.1722, allocations: 12 kB / 0.7323 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001176/0.1724, allocations: 136.3 kB / 0.7324 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1724, allocations: 0 / 0.7324 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003244/0.1727, allocations: 35.94 kB / 0.7324 GB, free: 10.72 MB / 0.545 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.001126/0.1738, allocations: 0.9696 MB / 0.7334 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005814/0.1744, allocations: 353.4 kB / 0.7337 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1744, allocations: 4.5 kB / 0.7337 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.1746, allocations: 182.8 kB / 0.7339 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.175, allocations: 27.92 kB / 0.7339 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.1778, allocations: 2.113 MB / 0.736 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1782, allocations: 0.708 MB / 0.7367 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.568e-05/0.1782, allocations: 24.47 kB / 0.7367 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.1783, allocations: 39.42 kB / 0.7367 GB, free: 6.035 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.1783, allocations: 4 kB / 0.7367 GB, free: 6.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1994, allocations: 3.715 MB / 0.7404 GB, free: 2.453 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/8.696, allocations: 12.73 kB / 0.7404 GB, free: 2.445 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.67938296298962] Failed to read output from testmodel.py, exit status != 0: 8.826907712966204 8.854544761 8.686376549 Calling exit ...