Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 108.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7491/0.7491, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 70.16 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1628, allocations: 76.17 MB / 0.6316 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.003601/0.1664, allocations: 1.675 MB / 0.6332 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1687, allocations: 1.499 MB / 0.6347 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1688, allocations: 4 kB / 0.6347 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1691, allocations: 39.77 kB / 0.6347 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1694, allocations: 75.61 kB / 0.6348 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1698, allocations: 117.8 kB / 0.6349 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.17, allocations: 127.6 kB / 0.635 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.1701, allocations: 9.125 kB / 0.635 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1703, allocations: 55.72 kB / 0.6351 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1705, allocations: 51.7 kB / 0.6351 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1705, allocations: 8 kB / 0.6351 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1707, allocations: 63.95 kB / 0.6352 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.1707, allocations: 23.92 kB / 0.6352 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.1708, allocations: 47.73 kB / 0.6353 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.1712, allocations: 146.4 kB / 0.6354 GB, free: 1.082 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1712, allocations: 4 kB / 0.6354 GB, free: 1.078 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1712, allocations: 0 / 0.6354 GB, free: 1.078 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1712, allocations: 0 / 0.6354 GB, free: 1.078 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006506/0.1718, allocations: 435.7 kB / 0.6358 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1719, allocations: 8.031 kB / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.1719, allocations: 38.73 kB / 0.6359 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.172, allocations: 16.75 kB / 0.6359 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1723, allocations: 224.5 kB / 0.6361 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1723, allocations: 4.375 kB / 0.6361 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.1723, allocations: 7.922 kB / 0.6361 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1726, allocations: 101 kB / 0.6362 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1726, allocations: 0 / 0.6362 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1726, allocations: 8 kB / 0.6362 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1726, allocations: 0 / 0.6362 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.1728, allocations: 51.89 kB / 0.6363 GB, free: 92 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.173, allocations: 207.5 kB / 0.6365 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1733, allocations: 119.7 kB / 0.6366 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1734, allocations: 46.61 kB / 0.6366 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1735, allocations: 4 kB / 0.6366 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1737, allocations: 113.9 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1737, allocations: 0 / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004773/0.1742, allocations: 161.4 kB / 0.6369 GB, free: 15.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.1743, allocations: 136.8 kB / 0.637 GB, free: 15.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1745, allocations: 170.4 kB / 0.6372 GB, free: 14.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1745, allocations: 29.7 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.1746, allocations: 104.1 kB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1746, allocations: 27.62 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.1747, allocations: 25.72 kB / 0.6374 GB, free: 14.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.1748, allocations: 322.8 kB / 0.6377 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1749, allocations: 39.97 kB / 0.6377 GB, free: 14.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.175, allocations: 72.14 kB / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.1752, allocations: 99.62 kB / 0.6379 GB, free: 14.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1752, allocations: 3.938 kB / 0.6379 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003332/0.1756, allocations: 129.5 kB / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1756, allocations: 4 kB / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1756, allocations: 3.984 kB / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1756, allocations: 4 kB / 0.638 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1758, allocations: 24.08 kB / 0.638 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1758, allocations: 3.938 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.1759, allocations: 11.91 kB / 0.6381 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1759, allocations: 0 / 0.6381 GB, free: 14.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001107/0.176, allocations: 129.8 kB / 0.6382 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1761, allocations: 11.91 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.1761, allocations: 17.39 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1761, allocations: 4 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1762, allocations: 4 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1762, allocations: 3.938 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1763, allocations: 209.5 kB / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1763, allocations: 0 / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.1764, allocations: 15.98 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1764, allocations: 0 / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1765, allocations: 4 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1765, allocations: 3.938 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1765, allocations: 0 / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.1768, allocations: 166.6 kB / 0.6386 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1768, allocations: 92.86 kB / 0.6387 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1769, allocations: 8 kB / 0.6387 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.177, allocations: 7.984 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.177, allocations: 11.98 kB / 0.6387 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.177, allocations: 12.06 kB / 0.6387 GB, free: 13.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1772, allocations: 132.2 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1772, allocations: 0 / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1774, allocations: 35.94 kB / 0.6389 GB, free: 13.08 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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: 0 * Record equations: 0 * When equations: 2 * 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.001443/0.1789, allocations: 1.047 MB / 0.6399 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.1792, allocations: 87.89 kB / 0.64 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1792, allocations: 0 / 0.64 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1793, allocations: 43.91 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.1796, allocations: 31.97 kB / 0.6401 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1816, allocations: 1.687 MB / 0.6417 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1818, allocations: 0.7002 MB / 0.6424 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.937e-05/0.1819, allocations: 24.47 kB / 0.6424 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.182, allocations: 47.41 kB / 0.6425 GB, free: 9.43 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.182, allocations: 0 / 0.6425 GB, free: 9.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2041, allocations: 3.897 MB / 0.6463 GB, free: 5.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.861, allocations: 9.938 kB / 0.6463 GB, free: 5.578 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)