Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_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.001253/0.001253, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 282.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9665/0.9665, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003204/0.003204, allocations: 97.73 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1489, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.00275/0.1516, allocations: 1.67 MB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1535, allocations: 1.506 MB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.1536, allocations: 0 / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.1539, allocations: 39.77 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1542, allocations: 63.62 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1545, allocations: 122.1 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1547, allocations: 123.6 kB / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.1547, allocations: 15.44 kB / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1548, allocations: 55.78 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.155, allocations: 57.58 kB / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1551, allocations: 8 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1552, allocations: 60.61 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.1553, allocations: 25.62 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1553, allocations: 43.73 kB / 0.684 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1556, allocations: 155.4 kB / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1556, allocations: 0 / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1556, allocations: 0 / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1556, allocations: 0.6562 kB / 0.6841 GB, free: 12.66 MB / 494.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.0005485/0.1562, allocations: 443.7 kB / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1562, allocations: 8.75 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.1562, allocations: 34.75 kB / 0.6846 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1563, allocations: 18.09 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1565, allocations: 220 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1565, allocations: 384 / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1565, allocations: 8.688 kB / 0.6848 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.1568, allocations: 105.6 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1568, allocations: 0 / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1568, allocations: 0 / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1568, allocations: 4 kB / 0.6849 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.157, allocations: 47.91 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.1572, allocations: 215.4 kB / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1574, allocations: 119.7 kB / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1575, allocations: 46.62 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1576, allocations: 8 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1578, allocations: 105.9 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1578, allocations: 0 / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004531/0.1583, allocations: 169.4 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.1584, allocations: 132.5 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1585, allocations: 172.1 kB / 0.6859 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1585, allocations: 29.69 kB / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.1586, allocations: 100.1 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1586, allocations: 27.64 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1587, allocations: 25.97 kB / 0.6861 GB, free: 10.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.1588, allocations: 322.8 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1589, allocations: 35.91 kB / 0.6864 GB, free: 10.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.159, allocations: 68.27 kB / 0.6865 GB, free: 9.934 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1592, allocations: 95.38 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1593, allocations: 3.938 kB / 0.6866 GB, free: 9.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002807/0.1595, allocations: 129.8 kB / 0.6867 GB, free: 9.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1596, allocations: 13.97 kB / 0.6867 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1596, allocations: 192 / 0.6867 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1596, allocations: 0 / 0.6867 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1597, allocations: 27.86 kB / 0.6867 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1597, allocations: 4 kB / 0.6867 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.1598, allocations: 15.83 kB / 0.6868 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1598, allocations: 8 kB / 0.6868 GB, free: 9.625 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 8.643e-05/0.1599, allocations: 122.4 kB / 0.6869 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.1599, allocations: 15.91 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.16, allocations: 21.39 kB / 0.6869 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.16, allocations: 0 / 0.6869 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.16, allocations: 4 kB / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.16, allocations: 0 / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1602, allocations: 205.5 kB / 0.6871 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1602, allocations: 0 / 0.6871 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.1603, allocations: 15.98 kB / 0.6871 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1603, allocations: 0 / 0.6871 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1603, allocations: 0 / 0.6871 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1603, allocations: 11.94 kB / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.1603, allocations: 3.984 kB / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1606, allocations: 162.5 kB / 0.6873 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1606, allocations: 96.94 kB / 0.6874 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.1607, allocations: 4 kB / 0.6874 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1608, allocations: 8 kB / 0.6874 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1608, allocations: 11.98 kB / 0.6874 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1608, allocations: 4 kB / 0.6874 GB, free: 8.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1609, allocations: 140.7 kB / 0.6876 GB, free: 8.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1609, allocations: 0 / 0.6876 GB, free: 8.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1612, allocations: 32 kB / 0.6876 GB, free: 8.684 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.00134/0.1625, allocations: 1.049 MB / 0.6886 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1628, allocations: 87.81 kB / 0.6887 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1628, allocations: 0 / 0.6887 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1629, allocations: 43.97 kB / 0.6887 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1632, allocations: 34.92 kB / 0.6888 GB, free: 7.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.165, allocations: 1.7 MB / 0.6904 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.1652, allocations: 0.7002 MB / 0.6911 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.445e-05/0.1653, allocations: 24.47 kB / 0.6911 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.1654, allocations: 43.41 kB / 0.6912 GB, free: 5.012 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1654, allocations: 4 kB / 0.6912 GB, free: 5.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.257/0.4223, allocations: 3.763 MB / 0.6949 GB, free: 1.359 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.794, allocations: 2.875 kB / 0.6949 GB, free: 1.359 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)